Skip to content

Releases: bloomberg/go-testgroup

v1.1.1

12 Sep 15:58
a0ab834
Compare
Choose a tag to compare

Security

  • Updated minimum required version of indirect dependency gopkg.in/yaml.v3 (#13).

v1.1.0

12 Sep 15:27
7802362
Compare
Choose a tag to compare

Changed

  • Updated go.mod to go 1.17 to enable more modern Go module features. See the Go Modules Reference for details (#12).

v1.0.0

11 Sep 20:58
336d912
Compare
Choose a tag to compare

There have been no significant changes to testgroup's behavior since v0.3.0 almost three years ago. I think we're ready to tag version 1.0.0! 🎉

v0.3.1

20 Oct 22:50
6dd0780
Compare
Choose a tag to compare

Fixed

  • Made changes (mostly cosmetic) based on linter feedback (#8).

Security

  • Updated the minimum required version of github.com/stretchr/testify to v1.6.0 to remove the indirect dependency on gopkg.in/yaml.v2, which has multiple vulnerabilities (#7).

v0.3.0

23 Jul 16:32
9a6ea10
Compare
Choose a tag to compare

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 ParallelSeparator to RunInParallelParentTestName.

Removed

  • The PreGrouper, PostGrouper, PreTester, and PostTester hook interfaces are no longer exported.

v0.2.0

20 Jul 21:47
55ae3ef
Compare
Choose a tag to compare

Added

  • testgroup.T.Run() wraps testing.T.Run(), but passes your test a *testgroup.T instead of a *testing.T. This makes it convenient to use testgroup.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.

v0.1.0

20 Jul 21:46
6514bc2
Compare
Choose a tag to compare

First release of the library.