This part covers techniques for managing and organizing unit tests and for ensuring that the quality of unit tests in real-world projects is high.
Chapter 7 covers test trustworthiness. It explains how to write tests that will reliably report the presence or absence of bugs. We’ll also look at the differences between true and false test failures.
In chapter 8, we’ll look at the main pillar of good unit tests—maintainability—and we’ll explore techniques to support it. For tests to be useful in the long run, they shouldn’t require much effort to maintain; otherwise, they will inevitably become abandoned.