iosxcodesentestingkit

How to set the order sentestkit-test runs?


I am using SenTestKit to test an iOS app. I've split tests into methods which run For example: In

@interface simpleGameTests : SenTestCase

With tests:

- (void)testFindingFacebookFriends
- (void)testRegisterUsernameFromForm
- (void)testStartGame

It seems kind of random which of the tests that run first, second and third. Is it possible in Xcode to set the order which the tests run?


Solution

  • No. You should write your tests as isolated cases that can be run no independent of each other, no matter the order.