You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Han (Jira)" <ji...@apache.org> on 2019/10/23 03:04:00 UTC
[jira] [Comment Edited] (SUREFIRE-1650) Running multiple xml using
suiteXmlFiles resulting in 0 test count
[ https://issues.apache.org/jira/browse/SUREFIRE-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957510#comment-16957510 ]
Mark Han edited comment on SUREFIRE-1650 at 10/23/19 3:03 AM:
--------------------------------------------------------------
Wow, has this been reproduced? I think I have been experiencing this too. Will try to repro with a small sample asap.
was (Author: markhan):
Wow, has this been reproduced? I think I have been experiencing this too.
> Running multiple xml using suiteXmlFiles resulting in 0 test count
> ------------------------------------------------------------------
>
> Key: SUREFIRE-1650
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1650
> Project: Maven Surefire
> Issue Type: Bug
> Components: Maven Surefire Plugin, TestNG support
> Affects Versions: 3.0.0-M3
> Reporter: Gavrila Budiwijaya
> Priority: Major
> Attachments: Zero Test Count.png
>
>
> POM setup:
> {code:java}
> <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>
> {code}
> Run using command line and multiple xml will results in 0 test count
> {code:java}
> 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"
> {code}
> The results will display correct counter when I run single xml file.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)