Comparison
inline-snapshot vs pytest-snapshot vs snapshottest vs syrupy
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
golden master/snapshot/approval testing library which puts the values right into your source code
Actively maintained. Last release 2 weeks ago, commits in 11 of the last 26 weeks. A safe choice.
pip install inline-snapshotA 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 snapshottestPytest Snapshot Test Utility
Actively maintained. Last release 11 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install syrupyIn 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.
- syrupy is the most used: 14.2M downloads a month, 5.2× more than inline-snapshot.
- Maintenance is comparable: syrupy 89, inline-snapshot 80 on Pythie’s Index.
- syrupy is growing fastest: downloads +23% over the last month.
- Safe default for a new project: syrupy.
Side by side
| Metric | inline-snapshot | pytest-snapshot | snapshottest | syrupy |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | 11 |