You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/01/14 10:26:16 UTC
DO NOT REPLY [Bug 44220] New: - [Patch] Link to log files from junitreport generated JUnit reports
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.
DO NOT REPLY [Bug 44220] - [Patch] Link to log files from junitreport generated JUnit reports
Posted by bu...@apache.org.
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
------- Additional Comments From s_potijk@yahoo.com 2008-01-14 01:28 -------
Created an attachment (id=21382)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=21382&action=view)
This patch introduces adding logfiles to JUnit test reports
A patch on http://svn.apache.org/repos/asf/ant/core/trunk revision 609533
--
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.