iphonecommand-lineocunitoctest

How can I launch OCUnit test on iPhone from Command line


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.


Solution

  • 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.