devel/py-inline-snapshot 0.35.4 NetBSD
Golden master/snapshot/approval testing library
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
76f2e6af86- License
- mit
- Categories
- devel, python
- Package size
- 196.3 KiB, 1163.9 KiB installed
Description
inline-snapshot can be used for different things:
* golden master/approval/snapshot testing. The idea is that you have a function with a currently unknown result and you want to write a tests, which ensures that the result does not change during refactoring.
* Compare things which are complex like lists with lot of numbers or complex data structures.
* Things which might change during the development like error messages.
inline-snapshot automates the process of recording, storing and updating the value you want to compare with. The value is converted with repr() and stored in the source file as argument of the snapshot() function.
In the other systems
The newest version among them is 0.35.4, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| NetBSD | devel/py-inline-snapshot | 0.35.4 newest | none known | - | [email protected] | 2026-10-16 |
| FreeBSD | devel/py-inline-snapshot | 0.35.4 newest | none known | - | [email protected] | 2026-08-21 |
| OpenBSD | devel/py-inline-snapshot | 0.35.3 behind since 2026-08-21 | no data | - | The OpenBSD ports mailing-list <[email protected]> | 2026-08-06 |
| DragonFly | devel/py-inline-snapshot | 0.20.8 behind since 2026-07-05 | none known | - | [email protected] | - |
| MidnightBSD | devel/py-inline-snapshot | 0.34.1 behind since 2026-08-21 | no data | - | [email protected] | 2026-07-05 |
| HardenedBSD | devel/py-inline-snapshot | 0.35.4 newest | no data | - | [email protected] | - |
| GhostBSD | devel/py-inline-snapshot | 0.35.4 newest | no data | - | [email protected] | - |
Version history 2
Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.
Install
Binary package:
pkgin install py311-inline-snapshot
From pkgsrc:
cd /usr/pkgsrc/devel/py-inline-snapshot && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.35.4 |
| NetBSD 10.1 aarch64 | 0.32.7 |
| SmartOS / illumos x86_64 | 0.36.1 |
| macOS 15 arm64 | 0.36.1 |
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.
Dependencies
Run dependencies 6
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-inline-snapshot-0.35.4,py313-inline-snapshot-0.35.4,py314-inline-snapshot-0.35.4