Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.0.0-M3
-
None
-
None
Description
POM setup:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M3</version> <configuration> <argLine> -javaagent:"${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar" -Dcucumber.options="--plugin io.qameta.allure.cucumber4jvm.AllureCucumber4Jvm" </argLine> <suiteXmlFiles> <suiteXmlFile>${suiteXmlFile}</suiteXmlFile> </suiteXmlFiles> <systemPropertyVariables> <config>${config}</config> </systemPropertyVariables> </configuration> </plugin>
Run using command line and multiple xml will results in 0 test count
mvn clean test -Dconfig="D:\configs\api\Automation - API - Staging.cfg" -DsuiteXmlFile="xml/regression/fintech/TestMain.xml","xml/regression/loyalty/TestMain.xml","xml/regression/payment/TestMain.xml"
The results will display correct counter when I run single xml file.