skills/skills.volces.com/Test Data Factory

Test Data Factory

Installation
SKILL.md

Test Data Factory

Writing test setup is slower than writing the test itself. You have a User model with 12 fields, a Post model that requires a User, and an Order model that requires both. Every test file re-invents the same createTestUser() boilerplate — with slightly different hardcoded values that don't cover edge cases.

Paste your schema and get a complete factory module: realistic Faker-powered defaults for every field, relationship-aware ordering, and one-line overrides for specific test scenarios.

Reads any schema format. Outputs TypeScript, Python, or SQL. Zero external APIs.


Trigger Phrases

  • "generate test data", "seed my database", "test fixtures"
  • "factory functions", "fake data from schema", "test data setup"
  • "create test factories", "Faker from schema", "factory_boy setup"
  • "generate seed data", "populate test database"
  • "I need fake users/orders/products for testing"
  • "/test-data-factory"
Installs
5
First Seen
Apr 22, 2026
Test Data Factory from skills.volces.com