github.com/searis/subtest (go): 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.
Keywords: go|testing