Reputation: 4077
I was wondering if there was a way to automate testing of different configurations of launchOptions
when the app first launches? I am familiar with XCTest, KIF and KIWI but I'm not sure if it's possible to implement that sort of tests?
Upvotes: 2
Views: 307
Reputation: 564
I think that you can always to put app to state as it was with first run. I mean in AppDelegate with
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
you can always react on launchOptions to set app state before each test or before all test - that depends on your actual test.
Upvotes: 0