File: alternatives.md

package info (click to toggle)
python-inline-snapshot 0.32.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,900 kB
  • sloc: python: 11,339; makefile: 40; sh: 36
file content (11 lines) | stat: -rw-r--r-- 657 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
inline-snapshot is not the only snapshot testing library for python.
There are several others to:

* [syrupy](https://github.com/syrupy-project/syrupy)
* [snapshottest](https://github.com/syrusakbary/snapshottest)
* [pytest-snapshot](https://github.com/joseph-roitman/pytest-snapshot)
* [pytest-insta](https://github.com/vberlier/pytest-insta)

All of them have things that make them unique. What sets inline-snapshot apart is the ability to store snapshots directly in the source code. This leads to less indirections in the code which improves readability and code-reviews.

If you miss a feature that is available in other libraries, please let me know.