![](/img/trans.png)
[英]Running compiled Java Selenium tests (with dependencies) using TestNG xml via command line
[英]Running Java/Selenium/Cucumber tests via command line
你可以試試這個命令:
mvn clean install "-Dcucumber.options=--tags @yourtagName"
嘗試執行以下
mvn verify -Dcucumber.options="--tags not @ignore"
或者
mvn verify -Dcucumber.options="--tags @runme"
其中@runme 是場景或功能上的標簽。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.