Can You Customise The Cucumber Generated Methods?

If I create a Cucumber feature file with missing steps and run a test I get the following output:

You can implement missing steps with the snippets below:

@Then("IDEA should generate in the same format as Cucumber")
public void idea_should_generate_in_the_same_format_as_Cucumber() {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
}

However, if I do a quick fix in IDEA it generates this:

@Then("IDEA should generate in the same format as Cucumber")
public void ideaShouldGenerateInTheSameFormatAsCucumber() {

}

Is it possible to make IDEA generate the same as Cucumber (even if the rest of my project is using CamelCase)?

0

请先登录再写评论。