Running Xcode Tests From the Terminal

Using a combination of xcodebuild and xcpretty, Giovanni Lodi shows how to run tests from a terminal. The primary benefit is visual feedback versus Xcode’s terse “Test Succeeded.”

As noted by Giovanni, xctool, created by Facebook, is another good option for building and testing iOS apps.