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

github.com/tj/assert

Package assert implements the same assertions as the `assert` package but stops test execution when a test fails. The following is a complete example using require in a standard test function: The `require` package have same global functions as in the `assert` package, but instead of returning a boolean result they call `t.FailNow()`. 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
v0.0.3
over 5 years ago
Versions
3
Dependent Packages
475
Dependent Repos
5,101
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/tj/assert
spec
License MIT
Namespace github.com/tj
First Release over 5 years ago
Last Synced 24 days ago
Repository
Stars 36 on GitHub
Forks 2 on GitHub
Docker Dependents 12
Docker Downloads 81,231
Rankings on proxy.golang.org
Overall Top 3.7%
Dependent packages Top 0.2%
Dependent repos Top 0.1%
Docker downloads Top 0.9%