Build test data factories and fixtures for consistent testing
Create a test data factory for:
Data models: ${{DATA_MODELS}}
Language: ${{PROGRAMMING_LANGUAGE}}
Requirements: ${{SPECIAL_REQUIREMENTS}}
Generate:
- Factory functions for each model
- Trait/variant support
- Sequence generators
- Association handling
- Random but realistic data
- Cleanup strategiesOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{DATA_MODELS][{PROGRAMMING_LANGUAGE][{SPECIAL_REQUIREMENTS]