Episode #84 | 8 minutes | published on September 12, 2013
Subscribers Only
Trying to run unit tests with xcodebuild leaves a lot to be desired. In this screencast I'll show you why xctool is a superior alternative. Quick, parsable build output and easy to follow pass/fail status on test runs make xctool worth checking out.

Episode Links

Installing xctool

xctool is most easily installed with homebrew: brew install xctool. Once installed, you'll have an xctool command on your system. This command takes arguments similar to xcodebuild, so transitioning over should be simple.

A script to run tests

xctool -workspace LoginTester.xcworkspace \
       -scheme LoginTesterTests \
       -sdk iphonesimulator \
       clean build test \
blog comments powered by Disqus