【发布时间】:2020-09-01 15:01:21
【问题描述】:
目前我遇到无法禁用某些测试用例 ( XCUI Test ) 的问题。
我已经尝试从模式中禁用大小写,当我从 xcode 测试时它有效,但是当我从脚本运行它时它不起作用。
我的脚本
/usr/bin/xcodebuild test-without-building -derivedDataPath "build" -workspace tako_ios_superapp.xcworkspace -scheme PlatformUITest -configuration Debug -UseModernBuildSystem=NO -destination "platform=iOS Simulator,name=Platform_Regression,OS=13.3" -resultBundlePath Platform '-only-testing:(my_app_target)/MY_Test_suit'
在我运行这个脚本之后,它仍然会运行测试服中的每个测试用例。有人曾经通过脚本禁用或跳过测试用例吗? 附言。我必须使用命令的原因是因为我必须使用 CI,它需要脚本。
【问题讨论】: