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

Golden master/snapshot/approval testing library

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.

Build dependencies

devel/py-hatchling devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/py-asttokens textproc/py-black devel/py-click lang/py-executing comms/py-rich devel/py-typing-extensions 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.