java - Intellij IDEA - 为特征文件提供 2 种类型的步骤片段
问题描述
我正在使用带有 Groovy/Java 的 Intellij IDEA,当我运行一个新的功能文件时,缺少的步骤片段总是有两种类型
如何让 Intellij 只给我一套?
我尝试过更改依赖项并询问松弛
Given(/there is a report on interest/) { ->
// Write code here that turns the phrase above into concrete actions
throw new PendingException()
}
@Given("there is a report on interest")
public void there_is_a_report_on_interest() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}
我希望只从 Intellij IDEA 获得上述类型中的一种。
解决方案
推荐阅读
- javascript - Execute JavaScript Connector Stop Working
- java - 比较Java中两个双打的符号
- java - Exporting signed war file from eclipse
- javascript - 简单的 Ajax 上传插件停止工作
- javascript - 用于在移动浏览器上切换选项卡的 php/html 链接
- ios - 任何人都可以确认 AR+ 将与运行 iOS 11 的 iPad 4 mini(或类似的 iPad)一起使用吗?
- python - 如何通过索引将数组插入现有的多维数组?[Python]
- iis - 将文件夹的 IIS URL 重写到另一个 Web 服务器
- python - 如何正确传递路径变量?
- parallel-processing - Pytorch:如何在集群中的多台机器上运行代码