Package Usage: go: github.com/sebdah/goldie/v2
Package goldie provides test assertions based on golden files. It's
typically used for testing responses with larger data bodies.
The concept is straight forward. Valid response data is stored in a "golden
file". The actual response data will be byte compared with the golden file
and the test will fail if there is a difference.
Updating the golden file can be done by running `go test -update ./...`.
9 versions
Latest release: over 4 years ago
166 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/sebdah/goldie/v2