xcode6 命令行运行单元测试unit test

网上很多信息说xcode4.5版本以后不支持命令行运行unit test。其实这种说法有误。

官方文档:

应用xcodebuild test 命令行运行测试用例

https://developer.apple.com/library/prerelease/ios/documentation/DeveloperTools/Conceptual/testing_with_xcode/A3-command_line_testing.html

根据自己的实际schema配置情况,灵活调整 destination 参数。

如在我的配置环境下

xcodebuild test -scheme aptTests -destination ‘platform=iOS Simulator,name=iPhone 6,OS=8.1’

版权声明:本文为博主原创文章,未经博主允许不得转载。

,妩媚动人,让我感受到了大自然的神奇。

xcode6 命令行运行单元测试unit test

相关文章:

你感兴趣的文章:

标签云: