Im triying to set my cucumber test in mvn test, but I cant.
You can check the repository in https://github.com/marcotenorioNTT/automation-api-framework
I did use this plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
</plugin>
But it only works with JUnit test, not with cucumber and features. I tried too with:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<includes>
<include>**/*Test.java</include>
<include>**/*Tests.java</include>
<include>**/Cucumber*.java</include>
</includes>
</configuration>
</plugin>
Bur it doesnt work neither.
I would appreciate your help!
Im expecting to set my cucumber test with the maven test in order to make a prehook that checks the test.
You need to sign in to view this answers