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

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.

Ecosystem
proxy.golang.org
Latest Release
v1.0.0
about 4 years ago
Versions
1
Dependent Packages
569
Dependent Repos
2,390
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/alecthomas/assert
spec
License MIT
Namespace github.com/alecthomas
First Release about 4 years ago
Last Synced 13 days ago
Repository
Stars 167 on GitHub
Forks 11 on GitHub
Docker Dependents 9
Docker Downloads 96,702
Commits 50
Committers 5
Avg per Author 10.0
DDS 0.08
Rankings on proxy.golang.org
Overall Top 2.8%
Dependent packages Top 0.2%
Dependent repos Top 0.2%
Forks Top 7.8%
Docker downloads Top 1.5%