BSD Ports

devel/py-inline-snapshot 0.35.3 OpenBSD

testing library which puts values into source code

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
5eb42d7148
Categories
devel, lang/python

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.

In the other systems

SystemPortVersion
OpenBSDdevel/py-inline-snapshot0.35.3
FreeBSDdevel/py-inline-snapshot0.35.4
NetBSDdevel/py-inline-snapshot0.35.4
DragonFlydevel/py-inline-snapshot0.20.8
MidnightBSDdevel/py-inline-snapshot0.34.1
HardenedBSDdevel/py-inline-snapshot0.35.4
GhostBSDdevel/py-inline-snapshot0.35.4

Install

Binary package:

pkg_add py3-inline-snapshot

From the ports tree:

cd /usr/ports/devel/py-inline-snapshot && make install

Dependencies

Build dependencies 4
Run dependencies 4

No port depends on this one.

Commit history 1

DateCommitCreditsLog message
5eb42d7148 sthen update to py3-inline-snapshot-0.35.3