Instance Method

tearDown()

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

Declaration

func tearDown()

Discussion

The tearDown() instance method is called once after each test completes. Override this method to perform any per-test cleanup.

See Also

Setup and Teardown

func setUp()

Provides an opportunity to reset state before each test method in a test case is called.