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
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/py-inline-snapshot | 0.35.3 |
| FreeBSD | devel/py-inline-snapshot | 0.35.4 |
| NetBSD | devel/py-inline-snapshot | 0.35.4 |
| DragonFly | devel/py-inline-snapshot | 0.20.8 |
| MidnightBSD | devel/py-inline-snapshot | 0.34.1 |
| HardenedBSD | devel/py-inline-snapshot | 0.35.4 |
| GhostBSD | devel/py-inline-snapshot | 0.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.