Overview of syrupy
mainSyrupy is a zero-dependency pytest snapshot plugin. It is built around three core principles:
- Extensible: Users can easily add support for new data types.
- Idiomatic: It integrates naturally with pytest syntax, allowing for
assert x == snapshotinstead of specialized assertion methods. - Soundness: Syrupy ensures test integrity by failing the test suite if a snapshot is missing, rather than just reporting differences.