maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [maven-invoker-plugin] olamy commented on a change in pull request #4: Junit report - add required fields
Date Sun, 21 Jul 2019 21:00:16 GMT
olamy commented on a change in pull request #4: Junit report -  add required fields
URL: https://github.com/apache/maven-invoker-plugin/pull/4#discussion_r305635731
 
 

 ##########
 File path: src/main/java/org/apache/maven/plugins/invoker/AbstractInvokerMojo.java
 ##########
 @@ -1874,8 +1874,15 @@ private void writeJunitReport( BuildJob buildJob, String safeFileName,
Execution
     {
         File reportFile = new File( reportsDirectory, "TEST-" + safeFileName + ".xml" );
         Xpp3Dom testsuite = new Xpp3Dom( "testsuite" );
-        testsuite.setAttribute( "tests", "1" );
+        testsuite.setAttribute("name", junitPackageName + "." + safeFileName);
 
 Review comment:
   testcase has the test name. This one should be only the package name as it's a suite? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message