Comparison
expecttest vs inline-snapshot vs pytest-snapshot
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Low maintenance activity. Last release 24 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install expecttestgolden master/snapshot/approval testing library which puts the values right into your source code
Actively maintained. Last release 13 days ago, commits in 12 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-snapshotIn short
- pytest-snapshot looks abandoned: avoid it for new projects.
- inline-snapshot is the most used: 2.7M downloads a month.
- inline-snapshot also has the best Pythie’s Index (82).
- Safe default for a new project: inline-snapshot.
Side by side
| Metric | expecttest | inline-snapshot | pytest-snapshot |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 29 | 82 |