You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/02/03 05:29:27 UTC
DO NOT REPLY [Bug 41534] New: - "quiet" Formatter for Ant's JUnit Task
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=41534>.
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=41534
Summary: "quiet" Formatter for Ant's JUnit Task
Product: Ant
Version: unspecified
Platform: All
URL: http://www.superscalar.org/files/apache-ant-1.7.0-
quiet/quiet-patch-r503170
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P2
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: mgricken@gmail.com
Hi!
I found the output of "brief" still too verbose, so I created a different
formatter for Ant's JUnit task. It is based on "brief", and I decided to call it
"quiet". It only prints any output if a test fails.
For this change, I had to modify FormatterElement.java and JUnitTask.java, and
add QuietJUnitResultFormatter.java.
I created a website that has complete source and binary tar.gz
distributions of a modified Ant 1.7.0 available, as well as a tar.gz
file with just the three Java files named above. It is available at:
http://www.superscalar.org/files/apache-ant-1.7.0-quiet/
At this website, you can also see a comparison of the output generated by the
"brief" formatter and the "quiet" formatter I have added.
I have created a patch file using "svn diff > quiet-patch-r503170". It is based
on revision 503170. The patch file is available at:
http://www.superscalar.org/files/apache-ant-1.7.0-quiet/quiet-patch-r503170
Please let me know if you have any interest in integrating this into
future versions of Ant, if I have unknowingly duplicated a feature, or
if I have done something else wrong.
I hope this will be helpful for someone.
Sincerely,
Mathias Ricken
--
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
DO NOT REPLY [Bug 41534] - "quiet" Formatter for Ant's JUnit Task
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=41534>.
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=41534
------- Additional Comments From mgricken@gmail.com 2007-02-02 20:30 -------
Created an attachment (id=19503)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=19503&action=view)
Patch file based on Ant revision 503170
--
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.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org