Comparison
inline-snapshot vs snapshottest
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 12 days ago, commits in 12 of the last 26 weeks. A safe choice.
$
pip install inline-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
- snapshottest is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- inline-snapshot is the most used: 2.7M downloads a month, 8.1× more than snapshottest.
- inline-snapshot also has the best Pythie’s Index (82).
- Safe default for a new project: inline-snapshot.
Side by side
| Metric | inline-snapshot | snapshottest |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 82 | 25 |