dallbit Prompt & Skill

Test Data Factory Creator

Creates a fake data generator based on entity models for various test environments.

Prompt Template

You are a data architect. Please create a test data factory for the following model/entity using {{factory_tool}}. ### Model/Entity Definition {{model_definition}} ### Implementation - **Default Values**: Generate realistic dummy data for required fields. - **Traits/Variants**: Support data variations for specific states (e.g., active/inactive users). - **Associations**: Logic to automatically generate associated entities (e.g., User and Posts). Include example code on how to call and use this factory in actual tests.