O'Reilly logo

Quality Code: Software Testing Principles, Practices, and Patterns by Stephen Vance

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Retrospective

As of this writing, I have not finished testing the Timepicker Addon. I have pushed 37 commits to my fork of the project. I have created two pull requests, of which Trent has accepted and merged one to the dev branch. I plan to finish covering the code, fixing and refactoring as I find things.

In this example, we saw a different approach to testing. Bringing untested code under test has a different flow from test driving a new project. Even though this project was pretty well written to start, I found and fixed bugs, uncovered ambiguous intent, unearthed vestigial code, cleaned up warnings, and improved readability.

This project showed some of the differences working in a dynamic language and with a different flavor of testing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required