01Chapter 1: Why test data becomes a problemAssume you can write and run automated tests, understand basic Python classes or dataclasses, and have used test fixtures or setup code.2 min read
02Chapter 2: Overriding only what the test cares aboutAssume you can write and run Python tests, use dataclasses, and understand basic test fixtures. This chapter uses a factory: a function that creates test objects with valid defaults.1 min read
03Chapter 3: Traits for named variantsThis chapter assumes you can write and run automated Python tests, define basic classes or dataclasses, and use test fixtures. A trait is a named group of factory overrides. It represents a meaningful variant, such as an administrator or a cancelled order.2 min read