ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44220] New: - [Patch] Link to log files from junitreport generated JUnit reports
Date Mon, 14 Jan 2008 09:26:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=44220>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=44220

           Summary: [Patch] Link to log files from junitreport generated
                    JUnit reports
           Product: Ant
           Version: 1.7.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: s_potijk@yahoo.com


I've written a (quick) patch which allows an end user to attach logfiles to
junit generated test reports. 

The patch introduces three new optional attributes to the junitreport ant task: 
  * logDir - The base dir for the test logfiles
  * logPrefix - A prefix which may be used to distinguish the log files from the
test
results.
  * logPostfix - A postfix which defaults to '.xml' and can be used to
distinguish the
log files from the test results.

If no prefix or postfix values are used the report generator will assume the
test class
name is the name of the log file. 
If a logfile cannot be found this will be silently ignored and no link to the
logfile
will appear in the resulting JUnit report.

When a link to a log file does appear it is formatted in the same way as links
to stdour
or stderr are formatted.

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

Mime
View raw message