问题
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