2
votes

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 the run after build option turned on).

Any ideas?

1

1 Answers

2
votes

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.