all options
bookworm  ] [  trixie  ] [  sid  ]
[ Source: golang-github-bradleyjkemp-cupaloy  ]

Package: golang-github-bradleyjkemp-cupaloy-dev (2.7.0-1)

Links for golang-github-bradleyjkemp-cupaloy-dev

Screenshot

Debian Resources:

Download Source Package golang-github-bradleyjkemp-cupaloy:

Maintainers:

External Resources:

Similar packages:

simple Go snapshot testing

This package takes a snapshot of the test output and compares it to a snapshot committed alongside the tests. If the values don't match then the test will be failed.

There's no need to manually manage snapshot files: just use the cupaloy.SnapshotT(t, value) function in the tests and cupaloy will automatically find the relevant snapshot file (based on the test name) and compare it with the given value.

Other Packages Related to golang-github-bradleyjkemp-cupaloy-dev

  • depends
  • recommends
  • suggests
  • enhances

Download golang-github-bradleyjkemp-cupaloy-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 9.9 kB51.0 kB [list of files]