Created attachment 37584 [details] Example for a bad report junitlauncher build task using a legacy xml listener <junitlauncher haltonfailure="true" printsummary="off"> <classpath refid="myclasspath"/> <testclasses outputdir="output/junit" > <fileset dir="theStuff"> </fileset> <listener type="legacy-xml" /> </testclasses> </junitlauncher> And a Testclass using @Paramterized (junit4). Will produce an output xml wich does not include individual testcase. (The total number of tests is correct, yet the "testcase" elements are missing) My changes in the let the legacy-xml listener print testcases elements https://github.com/apache/ant/pull/125 This is most likely the same issue as 58438.
Thank you for raising this issue as well as submitting a fix. The PR containing this fix has now been merged https://github.com/apache/ant/pull/125/.
> This is most likely the same issue as 58438. That one looks unrelated. It was reported back in 2015, when the junitlauncher task didn't exist. It looks like that other issue is related to the junit task instead.