testing-test-data-factory
CommunityZero-boilerplate test data factories
AuthorAutisticAF
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Tests often require repetitive, verbose model construction that adds boilerplate and makes tests fragile; this skill provides reusable factory helpers and builders to produce deterministic, realistic sample data with minimal per-test setup.
Core Features & Use Cases
- Generates static fixture extensions for models so tests can create sample instances with one-line calls and optional overrides.
- Produces builder-pattern helpers for complex models with many optional fields and relationships.
- Creates sequence and collection factories, fixed-date helpers, and mock API response factories for deterministic unit and integration testing.
- Useful when migrating tests to be less flaky, seeding integration tests with realistic data, or reducing setup duplication across test suites.
Quick Start
Generate test data factories and builders for my Swift models, placing them in the test target and using fixed dates, UUID defaults, and sensible named fixtures.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: testing-test-data-factory Download link: https://github.com/AutisticAF/claude-code-apple-dev-plugin/archive/main.zip#testing-test-data-factory Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.