Instance Method

testBundleDidFinish:

Called immediately after all tests in a test bundle have finished executing.

Declaration

- (void)testBundleDidFinish:(NSBundle *)testBundle;

Parameters

testBundle

The bundle containing the tests that were executed.

Discussion

This method provides a customization point for any post-testing activity. The test process will generally exit after this method returns, so if there is long running and/or asynchronous work to be done after testing, be sure to implement this method in a way that blocks until all long running activity is complete.

See Also

Observation Methods

- testBundleWillStart:

Called immediately before any tests in a test bundle begin.

- testSuiteWillStart:

Called immediately before a test suite starts executing.

- testCaseWillStart:

Called immediately before a test case starts executing.

- testCase:didFailWithDescription:inFile:atLine:

Called when a test case reports a failure.

- testCaseDidFinish:

Called immediately after a test case finishes executing.

- testSuite:didFailWithDescription:inFile:atLine:

Called when a test suite reports a failure.

- testSuiteDidFinish:

Called immediately after a test suite finishes executing.