Xcode-Ui-Test: can I specify a specific test that I want to run from the terminal

I wrote a ui test in new xcode 7 with fast 2.0. I have a script that I run from the terminal to do 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 that this command line runs all the test scripts in my test. How can I specify a specific test?

Any ideas? Greetings.

+1
source share
1 answer

I posted this expression to Apple. As I know, now the only way is to replace the * .xcscheme file with the added information "<SkippedTests>".

+1
source

Source: https://habr.com/ru/post/1232405/


All Articles