v0.2.0
Added
testgroup.T.Run()
wrapstesting.T.Run()
, but passes your test a*testgroup.T
instead of a*testing.T
. This makes it convenient to usetestgroup.T
's helpers when writing table-driven tests.
Changed
-
The test group will now fail if:
- the group object has no exported methods
- the group object is passed by value, and it has exported methods with a pointer receiver
This should help catch mistakes when writing tests.