An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/maxatome/go-testdeep

Package testdeep allows extremely flexible deep comparison. It is built for testing. It is a go rewrite and adaptation of wonderful Test::Deep perl module. In golang, comparing data structure is usually done using reflect.DeepEqual or using a package that uses this function behind the scene. This function works very well, but it is not flexible. Both compared structures must match exactly. The purpose of go-testdeep is to do its best to introduce this missing flexibility using "operators" when the expected value (or one of its component) cannot be matched exactly. testdeep package should not be used in new code, even if it can for backward compatibility reasons, but td package. All variables and types of testdeep package are aliases to respectively functions and types of td package. They are only here for compatibility purpose as should now be used, in preference of older, but still supported: For easy HTTP API testing, see tdhttp package. For tests suites also just as easy, see tdsuite package.
28 versions
Latest release: over 1 year ago
76 dependent packages

View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/maxatome/go-testdeep

Dependent Repos 0