Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.2% on proxy.golang.org
Top 0.5% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 5.6% forks on proxy.golang.org
Top 1.7% docker downloads on proxy.golang.org

proxy.golang.org : 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.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/maxatome/go-testdeep
Keywords: assertions, deep-equals, equality, framework, go, golang, golang-package, golang-testing, hacktoberfest, httptest, test-suite, testdeep, testing, tests, testsuite, toolkit, variable-equality
License: BSD-2-Clause
Latest release: 5 months ago
First release: almost 6 years ago
Namespace: github.com/maxatome
Dependent packages: 76
Dependent repositories: 973
Stars: 345 on GitHub
Forks: 15 on GitHub
Docker dependents: 3
Docker downloads: 221
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/maxatome
Last synced: 29 days ago

    Loading...
    Readme
    Loading...