Comparison
pytest-regressions vs pytest-snapshot vs snapshottest
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Easy to use fixtures to write regression tests.
Maintained. Last release 6 months ago, commits in 7 of the last 26 weeks.
$
pip install pytest-regressionsA plugin for snapshot testing with pytest.
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install pytest-snapshotSnapshot testing for pytest, unittest, Django, and Nose
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install snapshottestIn short
- pytest-snapshot looks abandoned: avoid it for new projects.
- snapshottest is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pytest-regressions is the most used: 1M downloads a month.
- pytest-regressions also has the best Pythie’s Index (66).
- Safe default for a new project: pytest-regressions.
Side by side
| Metric | pytest-regressions | pytest-snapshot | snapshottest |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 66 | 11 |