Top 0.2% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 7.8% forks on proxy.golang.org
Top 1.5% docker downloads on proxy.golang.org
proxy.golang.org : github.com/alecthomas/assert
Package assert provides a set of comprehensive testing tools for use with the normal Go testing system. The following is a complete example using assert in a standard test function: if you assert many times, use the format below: Assertions allow you to easily write test code, and are global funcs in the `assert` package. All assertion functions take, as the first argument, the `*testing.T` object provided by the testing framework. This allows the assertion funcs to write the failings and other details to the correct place. Every assertion function also takes an optional string message as the final argument, allowing custom error messages to be appended to the message the assertion method outputs.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/alecthomas/assert
Keywords:
assert
, generics
, go
, golang
, testing
License: MIT
Latest release: over 3 years ago
First release: over 3 years ago
Namespace: github.com/alecthomas
Dependent packages: 569
Dependent repositories: 2,390
Stars: 107 on GitHub
Forks: 6 on GitHub
Docker dependents: 9
Docker downloads: 96,702
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/alecthomas
Last synced: 24 days ago