12

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 ...

Get Test-Driven Development with C++ 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.