I'm working with the IntelliJ Cucumber plugin for Java. The plugin is great, and I've gotten it to work with all my tests. My question relates to the automatic step definition creation feature that occurs when the user presses Alt + Enter
on a undefined step and selects a file to place the newly created method.
Currently, the method is named the same as the step and is empty excepting for a throw new PendingException()
.
Is there any way to change what the plugin places into the method on default? I'd like to change it to flag the step as a failing test.
The default step definition text is hard-coded.