Cucumber runner class name. Scanned from src/test/java/ if empty.
cucumberTestRunner.featuresPath
(auto-detected)
Path to features directory relative to project root.
cucumberTestRunner.defaultTags
(none)
Default tag expression for all runs (e.g., "not @wip").
Known Limitations
Maven only — Gradle support is planned but not yet implemented. The architecture supports it (pluggable BuildToolRunner interface).
Multi-module Maven projects (parent POM with <modules>) are not supported. The extension detects independent Maven projects within a workspace by finding the nearest pom.xml with a src/ directory. Multi-module aggregator POMs without src/ are skipped.
Debug mode supports one project at a time. If you select tests from multiple projects and click Debug, only the first project runs in debug mode. The rest are skipped with a warning. Run mode handles multiple projects sequentially without this restriction.
How It Works
Discovery: Parses .feature files using the official @cucumber/gherkin parser (the same one the Cucumber VS Code extension uses)
Execution: Runs mvn test with -Dcucumber.features=path/to/file.feature:lineNumber to target specific scenarios
Results: Parses Cucumber's JSON reporter output and maps results back to test items by feature URI and line number
Debug: Starts Maven Surefire with JDWP debug arguments, polls the debug port, then attaches VS Code's Java debugger