2

I want to run unit test on iPhone without using Xcode. Is there any command line utility to run OCunit test on iPhone device. I also tried fruit-strap but it only launches App not OCtests. "fruitstrap -d path_of_app" this command install app but I did not found any way to install and run octest on iPhone.

Ram Suthar
  • 356
  • 2
  • 9

1 Answers1

1

Look at the similar issue, I've opened recently: Is there any non-Xcode-based command line testing tool for Objective-C.

There is the answer by @MalteTancred. I am trying to adapt his answer to my project and can say that it is not a very easy task to get the stuff (that Xcode does out of box) to work when made by hands in command line.

Community
  • 1
  • 1
Stanislav Pankevich
  • 11,044
  • 8
  • 69
  • 129
  • 1
    I've just updated my answer there with description how Travis uses awk to capture octest's exit code from its output. It is needed to know if a test suite has passed or failed. – Stanislav Pankevich Apr 12 '13 at 14:55