Documentation

Pydantic Fixturegen

Deterministic fixture generation, emitters, and diagnostics for Pydantic v2.

latest

Deterministic fixtures

Pydantic Fixturegen: deterministic test data, emitters, and diagnostics

Pydantic Fixturegen exists to remove the guesswork from building test data for Pydantic v2 models. The CLI discovers models, generates typed fixtures, emits JSON/JSONL snapshots, and records diagnostics so audit and CI pipelines stay reproducible. This landing page summarizes the core capabilities and points you to the deep dives on discovery internals, command guides, providers, seed policies, and integrations with FastAPI, pytest, and Pluggy-based workflows.

First pass: get oriented

Jump into the CLI, pick your install strategy, and skim the feature tour before automating discovery or emitters. These guides explain how Fixturegen plugs into real-world CI and observability stacks.

Daily workflows

Reference the CLI, centralized configuration, and cookbook recipes whenever you extend discovery or add emitters. Each link below takes you directly into the workflow-focused docs so new contributors can onboard fast.

Quality systems

Use doctor, testing helpers, and seed/preset policies to keep fixtures deterministic and auditable.

Reference + appendix

Keep these close for API signatures, templated paths, and troubleshooting.

Edit this page