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.
proxy.golang.org
v1.11.1
7 months ago
28
146,490
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 |