简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM