Test Fixture Builder
Build reusable test fixtures for consistent setup of databases, files, mocks, and complex object graphs.
Usage
Describe your test setup needs and this skill will create reusable fixture patterns.
Examples
- "Create database fixtures for testing user order workflows"
- "Build parameterized fixtures for testing different user roles"
- "Design composable fixtures for complex test scenarios"
Guidelines
- Keep fixtures focused on the minimum data needed for each test
- Use composition to build complex fixtures from simple ones
- Clean up fixtures properly to avoid test pollution
- Share common fixtures across related test files
- Version control fixture data alongside test code