[英]How do I stub-out RabbitTemplate when using Spring Framework?
[英]How do i selectively ignore certain .feature files in my build while using karate framework?
我必須使用空手道框架忽略我的集成測試套件的某些 .feature 測試文件。 有什么方法可以有選擇地排除某些文件。
是的,答案是tags 。
例子:
@ignore
Feature: my feature
Scenario:
# blah
在命令行上:
mvn test -Dcucumber.options="--tags ~@ignore" -Dtest=MyIntegrationSuiteRunner
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.