priyanka priyanka - 20 days ago 6
Java Question

Cucumber tests are being skipped

I am using cucumber framework in my project. So for the reporting part, i need have started building the cucumber reports with jenkins.

So during the setup for the trail build i am facing the below issues.
All the tests are skipped, but not executing.
Can anyone have solution. I am happy to provide any other inputs required.

enter image description here

enter image description here

Answer

When using maven and cucumber you have two options to run the tests.

  1. With maven: mvn clean install

  2. With cucumber:-Dtest=Runnerclass test Where Runnerclass is the class name of runner.

Comments