You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tibor Digana (Jira)" <ji...@apache.org> on 2019/10/26 15:04:00 UTC

[jira] [Assigned] (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:all-tabpanel ]

Tibor Digana reassigned SUREFIRE-1650:
--------------------------------------

    Assignee: Tibor Digana

> 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
>            Assignee: Tibor Digana
>            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)