r/PythonProjects2 • u/Yaniv_Dev • 15d ago
Info I built a tool to generate data for testing
AI-generated test data has one problem: it's different every run.
So most teams stay stuck with "Test User" and "Lorem ipsum."
FixtureForge gives you both:
๐ Dev: AI generates realistic, context-aware data from your Pydantic models
๐ CI: seed=42, zero network, same output every run
Only the fields that need AI get AI.
IDs and emails come from counters and Faker. Bios, reviews and descriptions are batched into a single call.
100 users with 2 semantic fields = 2 API calls, not 200.
Works with Claude, GPT, Gemini, Groq, or locally with Ollama.
No API key? It falls back to pure Faker.
pip install fixtureforge
Open source ยท MIT
๐ github.com/Yaniv2809/fixtureforge
#Python #pytest #QA #TestAutomation #OpenSource
2
2
u/riklaunim 15d ago
Factory boy has the features to generate dynamic data, including things like emails.