且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从命令行运行iOS应用的单个XCTest(UI,单元)测试用例

更新时间:2023-10-16 12:19:46

对于Xcode 8,现在可以将-only-testing参数与xcodebuild一起使用:

It is now possible with Xcode 8 using the -only-testing parameter with xcodebuild:

xcodebuild test -workspace <path>
                -scheme <name>
                -destination <specifier>
                -only-testing:TestBundle/TestSuite/TestCase

查看此视频: https://developer.apple.com/videos/play /wwdc2016/409/