Xcode-Ui-Test: Can i specify a particular test tha

2019-08-15 07:11发布

问题:

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.