Package Info

python-syrupy


Pytest Snapshot Test Utility


Unspecified

Syrupy is a pytest snapshot plugin. It enables developers to write tests which assert immutability of computed results.

The most popular snapshot test plugin compatible with pytest has some core limitations which this package attempts to address by upholding some key values:

  • Extensible: If a particular data type is not supported, users should be able to easily and quickly add support.
  • Idiomatic: Snapshot testing should fit naturally among other test cases in pytest, e.g. assert x == snapshot vs. snapshot.assert_match(x).
  • Soundness: Snapshot tests should uncover even the most minute issues. Unlike other snapshot libraries, Syrupy will fail a test suite if a snapshot does not exist, not just on snapshot differences.

License: Apache-2.0
URL: https://github.com/tophat/syrupy

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
4.9.1-160000.2.2 info GA Release 2025-04-28 16.0
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python313-syrupy