Releases: bloomberg/go-testgroup
Releases · bloomberg/go-testgroup
v1.1.1
v1.1.0
v1.0.0
v0.3.1
v0.3.0
Our first open source release! 🎉
Added
- Improved the documentation in the README and godoc comments.
Changed
-
The test group will now fail if the group object has an exported method that does not conform to the expected signature of a test/hook. This should further minimize subtest methods being left out of the group for having the wrong function signature.
-
Renamed
ParallelSeparatortoRunInParallelParentTestName.
Removed
- The
PreGrouper,PostGrouper,PreTester, andPostTesterhook interfaces are no longer exported.
v0.2.0
Added
testgroup.T.Run()wrapstesting.T.Run(), but passes your test a*testgroup.Tinstead 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.