I am new to the ios world and figure out how to run tests from the command line.
I have APP.app and TEST.xctest (mostly KIF tests).
I can’t understand how to run these tests in the application (on the simulator and device).
I tried using xcodebuild test with the circuit set as TEST, but without using.
I was able to use xcrun commands to install .app on the simulator.
xcrun instruments -w "iPhone 5 (8.0 Simulator)"
xcrun simctl install booted <app path>
How to run Xctests now on a simulator?
Any help is appreciated.
source
share