File: alternatives.md

package info (click to toggle)
python-inline-snapshot 0.29.0-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,400 kB
  • sloc: python: 8,877; makefile: 37; sh: 30
file content (19 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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.

<iframe
    src="https://pypacktrends.com/embed?packages=inline-snapshot&packages=snapshottest&packages=syrupy&packages=pytest-snapshot&packages=pytest-insta&time_range=2years"
    width="100%"
    height="520"
    frameborder="0"
>
</iframe>