devel/py-test-snapshot - The NetBSD Packages Collection

Plugin for snapshot testing with pytest

A plugin for snapshot testing with pytest.

This library was inspired by jest's snapshot testing. Snapshot
testing can be used to test that the value of an expression does
not change unexpectedly. The added benefits of snapshot testing
are that

* They are easy to create.
* They are easy to update when the expected value of a test
  changes.

Instead of manually updating tests when the expected value of an
expression changes, the developer simply needs to

* run pytest --snapshot-update to update the snapshot tests
* verify that the snapshot files contain the new expected results
* commit the snapshot changes to version control

Build dependencies

devel/py-setuptools devel/py-setuptools_scm devel/py-wheel devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/python312 lang/python312

Binary packages

OSArchitectureVersion
(none)

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.