Summary
This chapter introduced macros and their ability to generate code based on the line number as a way to enable multiple tests. Each test is its own class with its own uniquely named global object instance.
Once multiple tests were supported, then you saw how to track and report the results of each test.
The next chapter will use the build failures in this chapter to show you the first step in the TDD process. We’ve been following these process steps already without specifically mentioning them. You’ll learn more about the TDD process in the next chapter, and the way that the test library has been developed so far should start making more sense as you understand the reasons.