Chapter 8. Specification-based Testing Techniques
Every profession has its fundamental techniques. Software testing is by no means an exception. A tester will check for certain things and fall back on a range of well-established techniques when designing and executing tests. Obvious to the tester, and seemingly intuitive once familiar, these techniques somehow don’t always make it into developer literature or tests written by developers. In my experience, one of the first questions developers who are new to unit testing (or to any kind of testing, for that matter) ask is:
Okay, I know how to write a unit test, but what should I test?
My hope is that this chapter will serve as a source of inspiration when the time comes for you to decide what ...
Get Developer Testing: Building Quality into Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.