我正在尝试使用 faSTLane 来使用 appium。 spec_path 到底是什么?
来自文档:https://docs.fastlane.tools/actions/#appium
Path to Appium spec directory
appium(
app_path: "appium/apps/TargetApp.app",
spec_path: "appium/spec",
platform: "iOS",
caps: {
versionNumber: "9.1",
deviceName: "iPhone 6"
}
)
最佳答案
根据description in fastlane ,Appium 操作允许您“使用 RSpec 通过 Appium 运行 UI 测试”。 spec_path
指的是文件路径(通常以名为spec
的目录结尾),其中RSpec将找到要运行的测试。
文章,Automated iOS and Android Acceptance Testing with RSpec and Appium可能是对拼图的一个很好的介绍。
关于ios - faSTLane Action appium 的spec_path 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42735676/