cucumber / cucumber-java-skeleton

This is the simplest possible setup for Cucumber-JVM using Java.
MIT License
461 stars 623 forks source link

`Step undifined` for demo project #86

Closed lazarkrstic closed 1 year ago

lazarkrstic commented 1 year ago

👓 What did you see?

Tests not working... I get message Step undifined


Step undefined
You can implement this step and 1 other step(s) 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();
}

Step skipped

📦 Which tool/library version are you using?

maven and InteliJ

🔬 How could we reproduce it?

Just following starting guide

git clone https://github.com/cucumber/cucumber-java-skeleton.git
cd cucumber-java-skeleton
cd maven
./mvnw test