I am using OCUnit for unit testing in a project. I managed to complete all the setup required for OCUnit in Xcode 4.2 and successfully create my test cases.
How can I control the order (priority) for a test case? I see that the test cases are built in alphabetical order of their name, that is, if I have the test method testA, testB, testC , they will be executed in the same order.
I need the "testC" in the above example to run before "testB", since my method has some settings for the variables and preferences for "testB", as well as entering the main data included in "testC" ,.
source share