开发者

Xcode 4 Unit Testing using Command Line

开发者 https://www.devze.com 2023-02-22 14:11 出处:网络
Xcode 4 supports running unit tests using the test build option, however I can\'t find a way to run the tests through the command line.

Xcode 4 supports running unit tests using the test build option, however I can't find a way to run the tests through the command line.

Simply running xcodebuild on the Unit Tests target does not run the tests (I have t开发者_JAVA技巧he run after build option turned on).

Any ideas?


I wasn't able to find any such option. The closest I have gotten so far is the ability to run logic tests only (running xcode 4 unit tests from the command line) and that's not very satisfying. I'll update my answer in Xcode 4: Run tests from the command line (xcodebuild)? if I find a better solution.

0

精彩评论

暂无评论...
验证码 换一张
取 消