Comparison
inline-snapshot vs pytest-regressions 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 12 of the last 26 weeks. A safe choice.
$
pip install inline-snapshotEasy to use fixtures to write regression tests.
Maintained. Last release 6 months ago, commits in 7 of the last 26 weeks.
$
pip install pytest-regressionsPytest 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
- syrupy is the most used: 13.8M downloads a month, 5.3× more than inline-snapshot.
- Maintenance is comparable: syrupy 89, inline-snapshot 82, pytest-regressions 66 on Pythie’s Index.
- syrupy is growing fastest: downloads +16% over the last month.
- Safe default for a new project: syrupy.
Side by side
| Metric | inline-snapshot | pytest-regressions | syrupy |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 66 |