Open dewijones92 opened 1 year ago
As the README says: https://github.com/cucumber/cucumber-java-skeleton/blob/d262b8dc017d01db5425c9b3727e411e36c32498/README.md?plain=1#L3-L8
So this all is expected:
RunCucumberTest > Cucumber > Belly > io.cucumber.skeleton.RunCucumberTest.Belly - a few cukes FAILED
io.cucumber.junit.platform.engine.UndefinedStepException: The step 'I wait 1 hour' and 1 other step(s) are undefined.
You can implement these steps using the snippet(s) below:
@When("I wait {int} hour")
public void i_wait_hour(Integer int1) {
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.java.PendingException();
}
@Then("my belly should growl")
public void my_belly_should_growl() {
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.java.PendingException();
}
I can see it getting a bit lost in the other output though, so it may be worth reconsidering the "failing test example" approach.
👓 What did you see?
✅ What did you expect to see?
All steps to be defined
📦 Which tool/library version are you using?
🔬 How could we reproduce it?
./gradlew test --rerun-tasks --info
📚 Any additional context?