Path to this page:
./
devel/py-inline-snapshot,
Golden master/snapshot/approval testing library
Branch: CURRENT,
Version: 0.14.0,
Package name: py312-inline-snapshot-0.14.0,
Maintainer: pkgsrc-usersinline-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.
Master sites:
Filesize: 204.748 KB
Version history: (Expand)
- (2024-11-11) Package added to pkgsrc.se, version py312-inline-snapshot-0.14.0 (created)
CVS history: (Expand)
2024-11-11 10:00:47 by Thomas Klausner | Files touched by this commit (4) |
Log message:
devel/py-inline-snapshot: import py-inline-snapshot-0.14.0
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.
|