Xcode 4: Run tests from the command line (xcodebuild)?
问题 I\'ve created a brand new iOS project in Xcode 4, and included unit tests. The default app has 2 targets, the main application and the unit test bundle. Using \"Product > Test\" (Command-U) builds the application, builds the unit test bundle, launches the iOS simulator and runs the tests. Now I\'d like to be able to do the same thing from the command line. The command line tool (xcodebuild) doesn\'t have a \"test\" action, but it seems like I should be able to build the unit test bundle