-
All replies
-
Helpful answers
-
Sep 29, 2016 8:39 AM in response to Rajkanthby hokanst,There is no official order, test methods should be written so that they can be run in any order. This is needed when using Xcode to manually run single test methods to e.g. speed up the debug/test cycle when fixing a buggy method.
A test class can implement -setUp and -tearDown to setup/clean up the test environment before and after each test method run. There are also +setUp and +tearDown methods to do the same on a per test class level.