Instance Method

testCaseDidFinish:

Called immediately after a test case finishes executing.

Declaration

- (void)testCaseDidFinish:(XCTestCase *)testCase;

Parameters

testCase

The test case that finished executing. Additional information about the test case can be retrieved from the test case's associated XCTestRun.

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.

- testSuite:didFailWithDescription:inFile:atLine:

Called when a test suite reports a failure.

- testSuiteDidFinish:

Called immediately after a test suite finishes executing.

- testBundleDidFinish:

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