run only functional test or integration test
How to run Cucumber Tests?
To run all features:
To run specific feature:
To run specific tag
To run a single scenario in a feature file
Input feature file name and the line number of the scenario. This will execute only that scenario
To view cucumber Reports locally:
Clone project locally
Run “mvn clean install -Dmaven.test.failure.ignore=true”
Open html report located at target\cucumber-report-html\cucumber-html-reports\overview-features.html
Running a Specific feature and viewing Cucumber reports:
mvn clean install -Dmaven.test.failure.ignore=true -Dcucumber.options="src/test/java/com/walmart/features/OE.feature"
Last updated
Was this helpful?