pytest-django
Pytest plugin that adds Django support with fixtures for database access, client requests, and settings, running Django test suites faster than manage.py test.
Our Verdict
The obvious choice for Django testing, mostly because --reuse-db alone repays the switch from manage.py test.
Pros
- Runs Django tests faster than manage.py test
- Database fixtures with transaction rollback
- --reuse-db flag saves minutes per run
- Clean fixtures for client and settings
Cons
- Database isolation quirks with transactions
- Requires understanding Django's test DB setup
- Some third-party packages assume unittest style
Best for: Django projects wanting pytest ergonomics and faster test iteration
Not for: Tiny Django apps where manage.py test is sufficient
When to Use pytest-django
Good fit if you need
- Django ORM access in pytest with rollback-per-test
- Faster Django test execution than manage.py test
- Request factory and test client fixtures built-in
- Transactional test isolation with database fixture scopes
Lock-in Assessment
Low 5/5
Lock-in Score 5/5
Pricing
Price wrong?pytest-django Pricing
- Pricing Model
- free
- Free Tier
- Yes
- Entry Price
- —
- Enterprise Available
- No
- Transparency Score
- —
Beta — estimates may differ from actual pricing
1,000
1001K10K100K1M
Estimated Monthly Cost
$25
Estimated Annual Cost
$300
Estimates are approximate and may not reflect current pricing. Always check the official pricing page.
Project Health
B
Health Score
1.5k 358
Bus Factor
9
Last Commit
12 days
Release Freq
107d
Open Issues
196
Issue Response
0d
License
NOASSERTION
Last checked: 2026-04-21
Community Discussion
Comments powered by Giscus (GitHub Discussions). You need a GitHub account to comment.