Xcode-Ui-Test: Can i specify a particular test that i want to run from terminal

荒凉一梦 提交于 2019-12-11 11:48:35

问题


i wrote a ui test in new xcode 7 with swift 2.0. I have a script, that i run from terminal to execute the ui-tests. Here is the command line:

xcodebuild -workspace App.xcworkspace -scheme "App-Scheme" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=9.1' test

The problem is, this command line run all the test-cases into my test. How is it possible the specify a particular test?

Any ideas? Cheers.


回答1:


I post this impovement to Apple. As i know, Now the only way - to substitute the *.xcscheme file with added "< SkippedTests >" info.



来源:https://stackoverflow.com/questions/34793731/xcode-ui-test-can-i-specify-a-particular-test-that-i-want-to-run-from-terminal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!