testify/suite
Olivier Mengué db8608ed63
suite: fix subtest names (fix #1501) (#1504)
* suite: fix TestSubtestPanic failure (#1501)

The subtest of TestSubtestPanic is expected to fail, but that must not
make the testuite of package 'suite' to fail. So call Skip to make 'go
test' to ignore that expected failure.

* suite: fix subtests names

We are doing dirty things with testing.InternalTest. It looks like test
names should have the same prefix as the parent test, like if they were
true subtests (testing.T.Run).

So until we drop our usage of testing.InternamTest, let's rename the
tests.

Also added a few checks of the testing.RunTests result.
2023-11-09 10:44:27 +10:00
..
doc.go EqualExportedValues: Handle nested pointer, slice and map fields (#1379) 2023-05-11 07:42:04 +10:00
interfaces.go Add sub-tests to Suite (#1246) 2022-11-02 21:46:59 +10:00
stats.go Add function to return if all tests in a suite passed 2020-03-11 19:42:32 +11:00
stats_test.go Add function to return if all tests in a suite passed 2020-03-11 19:42:32 +11:00
suite.go fix: panic behavior for subtests 2023-10-30 22:51:08 +01:00
suite_test.go suite: fix subtest names (fix #1501) (#1504) 2023-11-09 10:44:27 +10:00