How do we tear down the Test Fixture?
We let the garbage collection mechanism provided by the programming language clean up after our test.
A large part of making tests repeatable and robust is ensuring that the test fixture is torn down after each test and a new one created for the next test run. This strategy is known as a Fresh Fixture (page 311). In languages that provide garbage collection, much of ...