Xcode 4 Unit Testing using 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.
精彩评论