Commit Graph

19 Commits (69a4a873bb8ba0be190a39516f991bf61c87ae0d)

Author SHA1 Message Date
Ben Blount 3104bf5483 Use Go 1.7 subtests so suites can properly nest
This removes dependencies on Go Testing Internals and
also enables test methods within a suite to have subtests.

Fixes #346
2017-05-29 12:27:49 +01:00
Ernesto Jiménez cd206b0fb2 Merge pull request #318 from esdrasbeleza/master
Add callbacks to be run after and before each test
2016-12-17 13:30:15 -06:00
Esdras Beleza 5e72f93a89 Remove timestamp from callback 2016-09-26 13:48:19 -03:00
Ernesto Jiménez bfe70f3776 Namespace suite flag `m` to `testify.m` 2016-09-24 19:52:00 +01:00
Esdras Beleza bf7a93e70c Add timestamp 2016-06-26 18:36:07 -03:00
Esdras Beleza fcedfe2aad Add callbacks to run before and after each test 2016-06-26 18:35:37 -03:00
Ernesto Jiménez 95644cab17 Fixes issue #149 2015-11-01 15:12:29 +00:00
Samuel Nelson 354307edce Add getters for *assert.Assertions and *require.Assertions 2015-01-19 12:15:53 -07:00
Jon Gjengset 81a69ed105 Defer suite teardown to align with test teardown 2014-11-25 19:58:50 -05:00
Jon Gjengset c1b496c5c9 Ensure TearDownTest is called after Skip 2014-11-03 17:46:03 -05:00
Tyler Bunnell 459056d303 Merge forward assertions. 2014-06-30 11:34:00 -06:00
Zaur Abasmirzoev d68e894fba Clear staff 2014-06-16 20:06:15 +04:00
Zaur Abasmirzoev 78cdc04039 Specify the method of the test suite 2014-06-16 19:50:34 +04:00
taichi 52f556e421 Simplify the API by using the new assertion. 2014-03-11 16:39:56 +09:00
Sean Talts 72c1136caa Formatting, restore T after test is over just in case 2014-03-07 12:54:55 -05:00
Sean Talts 5739ba4d16 Have testing.RunTests run the tests we find with their setup methods. 2014-03-07 12:14:37 -05:00
Samuel Nelson 46e05f3e57 Removing unnecessary defer (the call was already at the end of the function it was in
)
2013-10-15 12:02:07 -06:00
Samuel Nelson 11dce72087 Renamed before/after methods and interfaces to setup/teardown 2013-10-15 10:32:35 -06:00
Sam Nelson a4c24896e3 Initial buildup/teardown functionality for issue 19 2013-10-14 15:13:28 -06:00