maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elias Balasis (JIRA)" <>
Subject [jira] [Commented] (SUREFIRE-1346) surefire-reports overwrite each other when using reuseForks=false
Date Fri, 07 Jul 2017 07:19:00 GMT


Elias Balasis commented on SUREFIRE-1346:

More info is now provided under SUREFIRE-875

> surefire-reports overwrite each other when using reuseForks=false
> -----------------------------------------------------------------
>                 Key: SUREFIRE-1346
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: process forking, TestNG support
>    Affects Versions: 2.19.1
>            Reporter: Antoine Tran
> In a Maven project with the setting "<reuseForks>false</reuseForks>" and
TestNg, the file testng-result.xml gets overwritten by the last test.
> I somehow understand why it is difficult to avoid this by design of fork, but a workaround
solution, as suggested by SUREFIRE-1018 or SUREFIRE-446, is to use the individual TEST-[className].xml
> However, if I use a Jenkins plugin like testng, I cannot make him ingest these files,
as they do not have the same structure as testng-result.xml. This is a bug of testng, rather
than the Jenkins plugin testng. Couldn't we make testng-result-[className].xml, for each test,
with the testng-result.xml structure? Otherwise, the Jenkins plugin
is completely not usable.
> Thank you.

This message was sent by Atlassian JIRA

View raw message