alla flaggor
bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: golang-github-bradleyjkemp-cupaloy  ]

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

Länkar för golang-github-bradleyjkemp-cupaloy-dev

Screenshot

Debianresurser:

Hämta källkodspaketet golang-github-bradleyjkemp-cupaloy:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Andra paket besläktade med golang-github-bradleyjkemp-cupaloy-dev

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta golang-github-bradleyjkemp-cupaloy-dev

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 9,9 kbyte51,0 kbyte [filförteckning]