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

Part III: Worked Examples

Seeing techniques presented in isolation, regardless of whether they are supported by examples, only goes part way toward conveying understanding. You need to see the techniques in action and use them to really achieve mastery. I cannot use the techniques for you. That is your responsibility. However, I can show you how they might be used in realistic scenarios through worked examples.

I have chosen two projects in different languages and testing styles to provide variety of guidance. The first example is a new project in Java executed with a test-driven approach. For the second project, I chose an untested, open-source JavaScript UI component to bring under test.

Both of the examples reside in my GitHub account. I performed ...

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