Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我用硒和黄瓜创建了 maven 项目。我正在尝试在持续集成设置中使用 jira X-ray。基本上,我采用导出的功能文件并希望使用竹子在命令行上执行它们。
我认为我的主要问题是我不确定如何将功能文件提供给具有步骤定义的已编译 maven 项目。
我有定义在src/test/resources/shouty
src/test/resources/shouty
如果我只想运行location.featureusing Maven,那么我可以使用命令
location.feature
mvn test -Dcucumber.options="src/test/resources/shouty/location.feature"
您要做的是如上所述使用 Maven 在 CI 作业中指定功能。