Comparison
approvaltests vs inline-snapshot vs pytest-snapshot 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-snapshotA plugin for snapshot testing with pytest.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install pytest-snapshotA 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
- pytest-snapshot looks abandoned: avoid it for new projects.
- inline-snapshot is the most used: 2.7M downloads a month, 1.5× more than pytest-snapshot.
- Maintenance is comparable: approvaltests 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: inline-snapshot.
Side by side
| Metric | approvaltests | inline-snapshot | pytest-snapshot | TextTest |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 80 | Pythie’s Index: 11 | Pythie’s Index: 71 |
| Verdict | Actively maintained | Actively maintained | Likely abandoned | Actively maintained |
| Downloads / month | 125.2K | 2.7M | 1.8M | 74.5K |
| Downloads, month over month | -25% | +6% | -10% | +168% |
| GitHub stars | 217 | 757 | 138 | 42 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 5 | 13 | 8 | 0 |
| Last release | Dec 1, 2026 | Nov 18, 2026 | Apr 23, 2022 | Nov 11, 2026 |
| Releases, 12 months | 31 | 21 | 0 | 3 |
| Weeks with commits | 23 / 26 | 11 / 26 | 0 / 26 | 7 / 26 |
| Recent contributors | 4 | 7 | 1 | 9 |
| First release | Oct 2015 | Jul 2022 | Mar 2020 | Sep 2014 |
| Python versions | 3.11 – 3.15 | 3.9 – 3.14 | 3.5 – 3.10 | – |
| License | Apache-2.0 | MIT | MIT | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.