Xcode-Ui-Test:我可以指定我想从终端运行的特定测试吗 [英] Xcode-Ui-Test: Can i specify a particular test that i want to run from terminal

查看:28
本文介绍了Xcode-Ui-Test:我可以指定我想从终端运行的特定测试吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 swift 2.0 在新的 xcode 7 中编写了一个 ui 测试.我有一个脚本,我从终端运行它来执行 ui-tests.这是命令行:

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?

有什么想法吗?干杯.

推荐答案

我将此改进发布给 Apple.据我所知,现在唯一的方法 - 用添加的"信息替换 *.xcscheme 文件.

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

这篇关于Xcode-Ui-Test:我可以指定我想从终端运行的特定测试吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆