Chapter 20Fixture Setup Patterns
Patterns in This Chapter
Fresh Fixture Setup
Shared Fixture Construction
In-line Setup
How do we construct the Fresh Fixture?
Each Test Method creates its own Fresh Fixture by calling the appropriate constructor methods to build exactly the test fixture it requires.
To execute an automated test, we require a text fixture that is well understood and completely deterministic. We can ...
Get xUnit Test Patterns: Refactoring Test Code 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.