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

Chapter 5. Testing Principles

Although this book has many specific recipes for testing particular circumstances, several of the techniques may be applied in a wide variety of situations. As with any skill, proficiency comes from learning the mechanics and practicing them. Real expertise comes from understanding the reasons behind the mechanics. This chapter addresses that reasoning.

Applying these principles to your test writing will help you figure out which test patterns are relevant and which particular techniques to use. In the larger scheme, these principles will help you to scale your testing efforts to match the growth of your system without the disproportionate overhead that often occurs.

The principles are presented in order of importance. ...

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