<dependency>
<groupId>io.github.prashant-ramcharan</groupId>
<artifactId>courgette-jvm</artifactId>
<version>6.3.0</version>
</dependency>
<!--CUCUMBER DEPENDENCIES -->
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.1.0</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java8</artifactId>
<version>${cucumber.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>${cucumber.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>${cucumber.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surfire.plugin.version}</version>
</dependency>
<dependency>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${maven.surfire.plugin.version}</version>
</dependency>
I have no information about the cause of the error. I added courgette dependency to pom.xml. What could be causing the problem?
It seems some issue with your maven goal
test
. You can utilize this below config that I am using to runcourgette-jvm
andtestNG
tests . It usesfailsafe
plugin and a mavenprofile
namedacceptanceTests
. All config is in this profile . The command I use to run this ismvn clean verify -P acceptanceTests -X
in intelliJRunner class is