https://issues.apache.org/bugzilla/show_bug.cgi?id=48529

           Summary: [PATCH]Provide tree-like xml/html reports for
                    TestSuite use
           Product: Ant
           Version: 1.8.0RC1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=24829)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24829)
patch created with Eclipse SVN/Team/Create Patch, relative to "ant/core/trunk"
project

This patch adds a new formatter "xml.suites" similar to "xml" that will
generate a similar XML report, but will take into consideration the TestSuite
hierarchy. It also ontains a report formatter that generates a nice html report
from the xml (similar to "noframes").

The patch is relative to SVN ant/core/trunk, contents of today (close to
1.8.0RC1 release). I developed it on 1.7.1 source code, but merged it today to
trunk so it's easier to integrate (but didn't test it on trunk after merge).

I didn't have time to modify any documentation for this new formatter/reporter.
Here is a sample of how the new task would be used:

<junit ...>
    <classpath refid="..." />
    <formatter type="xml.suites" />

    <test name="..." todir="..." />
</junit>
<junitreport todir="...">
    <fileset dir=".">
        <include name="TEST-*.xml" />
    </fileset>
    <report format="noframes-suiteaware" todir="..." />
</junitreport>

Hope you can add this soon.

Regards,
Andrei Costescu

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to