Contents

tearDown()

Provides an opportunity to perform cleanup after a test case ends.

Declaration

class func tearDown()

Mentioned in

Discussion

The tearDown() class method is called exactly once for a test case, after its final test method completes. Override this method to perform any cleanup after all test methods have ended.

See Also

Related Documentation

Customizing Test Setup and Teardown