Contents

setUp()

Provides an opportunity to customize initial state before a test case begins.

Declaration

class func setUp()

Mentioned in

Discussion

The setUp() class method is called exactly once for a test case, before its first test method is called. Override this method to customize the initial state for all tests in the test case.

See Also

Related Documentation

Customizing Test Setup and Teardown