我想如何在 Windows 的 cmd 中使用 mvn 命令运行此命令
cucumber -p headless @rerun.txt
有人能帮帮我吗
我想运行一个文本文件,包含
feature1.feature
feature2.feature
----在cmd中使用maven
看起来您正在混合命令的 ruby 和 java 实现。在 ruby 中运行类似于您要求的内容,您将执行以下操作
cucumber -q @text_file.txt
有关此特定用途的信息,请参阅https://relishapp.com/cucumber/cucumber/docs/cli/run-specific-scenarios#use-@-notation-to-specify-a-file-containing-feature-file-list案子。
但是说了这么多,你提到了maven吗?所以先把事情弄清楚。