ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41534] New: - "quiet" Formatter for Ant's JUnit Task
Date Sat, 03 Feb 2007 04:29:27 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=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


Mime
View raw message