Chapter 8Transient Fixture Management
About This Chapter
Chapter 6, Test Automation Strategy, looked at the strategic decisions that we need to make. That included the definition of the term "fixture" and the selection of a test fixture strategy. Chapter 7, xUnit Basics, established our basic xUnit terminology and diagramming notation. This chapter builds on both of these earlier chapters by focusing on the mechanics of implementing the chosen fixture strategy.
There are several different ways to set up a Fresh Fixture (page 311), and our decision will affect how much effort it takes to write the tests, how much effort it takes to maintain our tests, and whether we achieve Tests as Documentation (see page 23). Persistent Fresh Fixtures (see ...