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

github.com/clarify/subtest

Package subtest provides a way of intializing small test functions suitable for use as with the (*testing.T).Run method. Tests using package-defined check functions can generally be initialized in two main ways. here is an example using DeepEquals: Custom CheckFunc implementations can also be turned into tests: Experimentally, any function that takes no parameter and returns an error can also be converted to a test: When necessary, either CheckFunc middleware or a custom ValueFunc instances can be used to prepare or transform the test value before evaluation. PS! Note that the all experimental syntax may be removed in a later version.

Ecosystem
proxy.golang.org
Latest Release
v0.2.0
over 3 years ago
Versions
3
Dependent Packages
2
Dependent Repos
2
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/clarify/subtest
spec
License Apache-2.0
Namespace github.com/clarify
First Release about 6 years ago
Last Synced about 11 hours ago
Keywords
go testing
Repository
Stars 6 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 9.5%
Dependent packages Top 4.2%
Dependent repos Top 3.5%