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.
proxy.golang.org
v0.2.0
over 3 years ago
3
2
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 |
Repository
| Stars | 6 on GitHub |
| Forks | 0 on GitHub |