How to run KIF (xctest) from the command line when I only have .app and .xctest files?

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.

+4
source share
1 answer

For my part, I do not think that running KIF tests with .app and .xctests is possible. Here is my approach that I use for my company’s project:

  • KIF script xcode
  • KIF xctool - KIF, xctool , KIF script. ( , .app)
0

All Articles