On 17/08/16 16:06, Sam Boyer wrote:
> OK, so this is kind of a lark, but to celebrate the new subtesting
> system <https://golang.org/pkg/testing/#hdr-Subtests_and_Sub_benchmarks>
> in Go 1.7, I fired out a quick lib for executing table-based
> tests https://github.com/sdboyer/tbsp.
> 
> The implementation is pretty trivial, so I hardly expect people to
> actually import it. But, it's a nice little demonstration of what I
> think table-based testing should generally start to look like, now that
> subtests are a thing.
> 
> Sorry if there's already something out there like this - I totally
> missed that subtests were coming in 1.7 until I saw the release notes,
> so I'm playing catchup.

Could you do a backwards compatibility mode so it would work in go 1.5
and 1.6?  If so that would be really useful!

-- 
Nick Craig-Wood <n...@craig-wood.com> -- http://www.craig-wood.com/nick

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to