Home

The devel/py-inline-snapshot port

py3-inline-snapshot-0.31.1 – testing library which puts values into source code (cvsweb github mirror)

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.
WWW: https://15r10nk.github.io/inline-snapshot/

Maintainer

The OpenBSD ports mailing-list

Only for arches

aarch64 alpha amd64 arm hppa i386 mips64 mips64el powerpc powerpc64 riscv64 sparc64

Categories

devel lang/python

Build dependencies

Run dependencies

Test dependencies

Reverse dependencies

Files

Search