Cucumber - Step Snippets

Answered

I am using Intellij IDEA with Groovy/Java and when I run a fresh feature file the missing step snippets always come in two types


```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();
}```

How do I get Intellij to just give me one set?

0
1 comment

Hi Vincent, I suppose these messages produced by cucumber-java / cucumber-groovy libraries. It doesn't depend neither from IDEA nor from Cucumber Plugin.

0

Please sign in to leave a comment.