Part 4 Design and process
These final chapters cover the problems you’ll face and the techniques you’ll need when introducing unit testing to an existing organization or codebase.
In chapter 9, we’ll talk about test readability. We’ll discuss naming conventions for tests and input values for them. We’ll also cover best practices for test structuring and writing better assertion messages.
Chapter 10 explains how to develop a testing strategy. We’ll look at which test levels you should prefer when testing a new feature, discuss common antipatterns in test levels, and talk about the test recipe strategy.
In chapter 11, we’ll deal with the tough issue of implementing unit testing in an organization, and we’ll cover techniques that can make your job ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access