gpt4 book ai didi

ios - faSTLane Action appium 的spec_path 是什么?

转载 作者:行者123 更新时间:2023-11-29 00:26:58 32 4
gpt4 key购买 nike

我正在尝试使用 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/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com