'maven surfire plugin test execution
I want to achive following with maven and surfire:
mvn test -DexcludedGroups=integrationmvn test -Dgroups=integrationmvn test -DsuiteXmlFiles=test.xml
That is my plugin inside the build plugins section within my pom:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
</plugin>
However. Step 1 and 2 works as expected. But my testng test.xml is not executed with the third command. only the tests from step 1 and 2 are executed. The test.xml is in the root of my project and I am able to execute it with the regarding intellij plugin.
do you see the problem?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
