Skip to content

Releases: Yaniv2809/fixtureforge

v2.2.0 - assert_semantic_match and SmartFailureAnalyzer

27 Apr 19:28

Choose a tag to compare

v2.1.0 — pytest plugin + seed determinism

13 Apr 19:19

Choose a tag to compare

What's new in v2.1.0

pytest plugin — zero-config fixtures

The forge fixture is now auto-available in every test with no configuration needed.

Declare model fixtures in one line from conftest.py:

from fixtureforge.pytest_plugin import forge_fixture

forge_fixture(User,  count=10, seed=42)   # → fixture "users"
forge_fixture(Order, count=50, seed=42)   # → fixture "orders"

Deterministic CI mode

forge = Forge(use_ai=False, seed=42)
# Same seed = identical output on every run

Verbose mode — see exactly where each value comes from

forge = Forge(verbose=True)
# [structural] id    = 1
# [faker]      email = 'user@example.com'
# [ai]         bio   = 'Passionate developer...'

Install: pip install fixtureforge==2.1.0