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.