Creating Better Test Confirmations
This chapter introduces Part 3, where we extend the TDD library to support the growing needs of the logging library. Part 1, Testing MVP, of this book developed a basic unit test library, and Part 2, Logging Library, started to use the unit test library to build a logging library. Now we are following TDD, which encourages enhancing something once the basic tests are working.
Well, we managed to get a basic unit test library working and proved its worth by building a logging library. In a way, the logging library is like systems tests for the unit test library. Now it’s time to enhance the unit test library.
This chapter adds a completely new type of confirmation to the unit test library. First, we’ll look at the existing confirmations to understand how they can be improved and what the new solution will look like.
The new confirmations will be more intuitive, more flexible, and extensible. And remember to pay attention not...