Skip to content

Commit 988e0be

Browse files
committed
feat: add Cucumber step definitions for example scenario
1 parent 8efb30a commit 988e0be

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package org.soujava.demos.mongodb;
2+
3+
import io.cucumber.java.en.Given;
4+
import io.cucumber.java.en.Then;
5+
import io.cucumber.java.en.When;
6+
7+
public class StepDefinitions {
8+
9+
@Given("an example scenario")
10+
public void anExampleScenario() {
11+
}
12+
13+
@When("all step definitions are implemented")
14+
public void allStepDefinitionsAreImplemented() {
15+
}
16+
17+
@Then("the scenario passes")
18+
public void theScenarioPasses() {
19+
}
20+
21+
}

0 commit comments

Comments
 (0)