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

github.com/stretchr/testify

Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend. Testify contains the following packages: The github.com/stretchr/testify/assert package provides a comprehensive set of assertion functions that tie in to the Go testing system. The github.com/stretchr/testify/require package provides the same assertions but as fatal checks. The github.com/stretchr/testify/mock package provides a system by which it is possible to mock your objects and verify calls are happening as expected. The github.com/stretchr/testify/suite package provides a basic structure for using structs as testing suites, and methods on those structs as tests. It includes setup/teardown functionality in the way of interfaces. A golangci-lint compatible linter for testify is available called testifylint.

Ecosystem
proxy.golang.org
Latest Release
v1.11.1
7 months ago
Versions
28
Dependent Packages
146,490
Dependent Repos
280,136
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/stretchr/testify
spec
License MIT
Namespace github.com/stretchr
First Release about 10 years ago
Last Synced about 1 hour ago
Repository
Stars 25,422 on GitHub
Forks 1,679 on GitHub
Docker Dependents 9,273
Docker Downloads 51,209,283,826
Commits 807
Committers 292
Avg per Author 2.764
DDS 0.926
Rankings on proxy.golang.org
Overall Top 0.2%
Dependent packages Top 0.1%
Dependent repos Top 0.1%
Forks Top 0.6%
Docker downloads Top 0.1%