cucumber-kotlin
cucumber-kotlin copied to clipboard
Unable to create new step definitions
As per title - create step definition shortcut only opens selected class, but does not actually generate a step snippet. I have to type everything manually.
If i select "create new file" then it tries to name it after a feature file with Steps.kt postfix. Empty file is created unless renamed to a valid class name.
If valid class name is specified then content looks similar to this:
import cucumber.api.java8.En
class SecuritySteps : En {
init {
Then("test step") {
}
}
}
with missing imports for En and Then
What I expect is that a step is generated as follows:
@Then("^test step$")
fun testStep() {}
IDEA version 2019.3.2 Cucumber for Kotlin 1.1.2 Cucumber-Java 2.4.0