I have an application that makes use of core data. The behavior of the application is different depending on whether that data has been populated yet.
I had hoped that,
You can do this easy by using XCUIApplication().launchEnvironment = ["key":"val"]
XCUIApplication().launchEnvironment = ["key":"val"]
and checking if you AppDelegate and parsing NSProcessInfo.
I am battling to get information form the app to the test / sending instruction not only during startup.