testing library which puts values into source code
Project homepage: https://15r10nk.github.io/inline-snapshot/
Description
inline-snapshot is a testing helper that lets you store expected
values ("snapshots") directly inside your source code instead of
in external files.
During a test run, the library captures the actual output of an
expression, converts it to a reproducible repr(), and compares it
to the inline snapshot. If they differ, it can automatically update
the snapshot in place.
This makes snapshot testing simpler for small values or codebases
that prefer keeping expectations close to the tests themselves,
without managing separate golden files.
Package information
- Ports path
- devel/py-inline-snapshot
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Runtime
Build
Test
- devel/py-dirty-equals
- devel/py-freezegun
- devel/py-hypothesis
- devel/py-isort
- devel/py-pydantic
- devel/py-test-subtests
- textproc/py-black
- devel/py-asttokens
- devel/py-executing
- devel/py-rich
- lang/python/3
- devel/py-test
Used by (3 dependency relationships)
Includes library, runtime, build and test dependencies.