| 1 | Source: golang-github-sebdah-goldie |
| 2 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 3 | Uploaders: Andreas Tille <[email protected]> |
| 4 | Section: golang |
| 5 | Testsuite: autopkgtest-pkg-go |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13), |
| 8 | dh-golang, |
| 9 | golang-any, |
| 10 | golang-github-pmezard-go-difflib-dev, |
| 11 | golang-github-sergi-go-diff-dev, |
| 12 | golang-github-stretchr-testify-dev, |
| 13 | golang-github-davecgh-go-spew-dev |
| 14 | Standards-Version: 4.6.0 |
| 15 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-sebdah-goldie |
| 16 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-sebdah-goldie.git |
| 17 | Homepage: https://github.com/sebdah/goldie |
| 18 | Rules-Requires-Root: no |
| 19 | XS-Go-Import-Path: github.com/sebdah/goldie |
| 20 | |
| 21 | Package: golang-github-sebdah-goldie-dev |
| 22 | Architecture: all |
| 23 | Multi-Arch: foreign |
| 24 | Depends: golang-github-pmezard-go-difflib-dev, |
| 25 | golang-github-sergi-go-diff-dev, |
| 26 | golang-github-stretchr-testify-dev, |
| 27 | ${misc:Depends} |
| 28 | Description: Golden file testing for Go (library) |
| 29 | Goldie is a golden file test utility for Go projects. It's typically |
| 30 | used for testing responses with larger data bodies. |
| 31 | . |
| 32 | The concept is straight forward. Valid response data is stored in a |
| 33 | "golden file". The actual response data will be byte compared with the |
| 34 | golden file and the test will fail if there is a difference. |
| 35 | . |
| 36 | Updating the golden file can be done by running go test -update ./.... |