priyanka priyanka - 1 year ago 181
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 Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download