File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,11 +319,23 @@ Test execution lifecycle:
319319
320320# Integration tests only
321321./mvnw failsafe:integration-test
322+ ```
323+
324+ ### Run Cucumber Tests
325+
326+ Cucumber tests use an H2 in-memory database (no Docker needed).
322327
323- # Tests with specific tag (Cucumber)
324- ./mvnw test -Dcucumber.filter.tags=" @smoke"
328+ ``` bash
329+ # Run all Cucumber tests
330+ ./mvnw test -Dtest=CucumberIntegrationTest
331+
332+ # Run with a specific tag
333+ ./mvnw test -Dtest=CucumberIntegrationTest -Dcucumber.filter.tags=" @smoke"
325334```
326335
336+ Feature files are located in ` src/test/resources/features/ ` .
337+ Step definitions are in ` src/test/java/feature/StepDefinition.java ` .
338+
327339### Test Coverage Report
328340
329341``` bash
@@ -338,7 +350,7 @@ Generated reports:
338350
339351- ** Framework** : JUnit 5
340352- ** Mocking** : Mockito
341- - ** BDD** : Cucumber (planned)
353+ - ** BDD** : Cucumber
342354- ** Coverage** : JaCoCo
343355
344356---
You can’t perform that action at this time.
0 commit comments