Simulator freeze when I run FlowTestRouter
I'm trying to run this tests, but nothing happens the simulator freeze.
@noais do you have more details about this problem? I test here in XCode 8.3.3 in Simulator ( iPhone 7 Plus with iOS 10.3) and work to me. I will try more stress tests here.
I'm trying to run FlowTestRouter.selectRoute(window, routes: ProcessInfo.processInfo.arguments) passing the argument UITestRun (scheme configuration). But inside FlowTestRouter class the fun selectRoute routes doesn't contain UITestRun.
So in
if let window = window, ProcessInfo.processInfo.arguments.contains("UITestRun") {
FlowTestRouter.selectRoute(window, routes: ProcessInfo.processInfo.arguments)
return true
}
FlowTestRouter dont do nothing and return true and the application don't start.
I don't understand how you run FlowTestRouter when you add arguments on UITests like app.launchArguments.append("uitest-list"). You can run application and tests on same time?