You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gavrila Budiwijaya (JIRA)" <ji...@apache.org> on 2019/03/19 04:42:00 UTC

[jira] [Updated] (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 ]

Gavrila Budiwijaya updated SUREFIRE-1650:
-----------------------------------------
    Description: 
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
!Zero Test Count.png! 
 

  was:
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
!Zero Test Count.png|thumbnail!
 


> 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
> !Zero Test Count.png! 
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)