prashant-ramcharan / courgette-jvm

Multiprocess | Parallel Cucumber-JVM | Parallelize your Java Cucumber tests on a feature level or on a scenario level.
MIT License
130 stars 38 forks source link

Unable to run the test runner from command line using Maven build tool #315

Closed venkata-qe closed 2 years ago

venkata-qe commented 2 years ago

OS: MacOS Maven home: 3.8.4/ Java version: 1.8.0_292, vendor: AdoptOpenJDK

Error [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project hsbc-selenium-restassured: No tests were executed! (Set -DfailIfNoTests=false to ignore this error.) -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.0:test (default-test) on project hsbc-selenium-restassured: No tests were executed! (Set -DfailIfNoTests=false to ignore this error.)

prashant-ramcharan commented 2 years ago

Have you tried the example project? https://github.com/prashant-ramcharan/courgette-jvm-maven-example

To assist further, please provide more details about your current project setup or provide an example project for me to debug.

prashant-ramcharan commented 2 years ago

Closing issue - please refer to example project as a guide to setup your maven project.