Comparison
approvaltests vs inline-snapshot vs syrupy vs TextTest
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Assertion/verification library to aid testing
Actively maintained. Last release 1 day ago, commits in 23 of the last 26 weeks. A safe choice.
pip install approvaltestsgolden 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-snapshotPytest Snapshot Test Utility
Actively maintained. Last release 11 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install syrupyA tool for text-based Approval Testing
Actively maintained. Last release 3 weeks ago, commits in 7 of the last 26 weeks. A safe choice.
pip install texttestIn short
- syrupy is the most used: 14.2M downloads a month, 5.2× more than inline-snapshot.
- Maintenance is comparable: approvaltests 89, syrupy 89, inline-snapshot 80, TextTest 71 on Pythie’s Index.
- TextTest is growing fastest: downloads +168% over the last month.
- Safe default for a new project: syrupy.
Side by side
| Metric | approvaltests | inline-snapshot | syrupy | TextTest |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | 80 |