You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/11/24 12:30:21 UTC
DO NOT REPLY [Bug 52237] New: build.xml file improvement to allow
not just plaintext junit logs.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52237
Bug #: 52237
Summary: build.xml file improvement to allow not just plaintext
junit logs.
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Packaging
AssignedTo: dev@tomcat.apache.org
ReportedBy: mhasko@redhat.com
Classification: Unclassified
MOTIVATION:
* be able to generate xml logs from JUnit tests (can then be transformed to
html)
* reuse as much code as available
IMPLEMENTATION:
* added <property name="junit.formatter.type" value="plain"/>
* added <property name="junit.formatter.extension" value=".txt"/>
* removed the default '.txt' junit logs extension
* changed the junit <formatter> to use junit.formatter.{type|extension}
properties
USAGE:
* custom build file including the original one:
<project name="importing" basedir="." default="deploy">
<import file="build.xml"/>
<target name="test-xml">
<antcall target="test">
<param name="junit.formatter.type" value="xml"/>
<param name="junit.formatter.extension" value=".xml"/>
</antcall>
</target>
</project>
Patch based on 'trunk' branch revision 1205789
Please change the 'Component' field if necessary. 'Packaging' seemed to be the
most appropriate for build.xml changes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52237] build.xml file improvement to allow not
just plaintext junit logs.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52237
--- Comment #3 from Konstantin Kolinko <kn...@gmail.com> 2012-01-09 19:25:11 UTC ---
With r1229314 I added one more configurable property to this:
junit.formatter.usefile
It will be in 7.0.24 as well.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52237] build.xml file improvement to allow not
just plaintext junit logs.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52237
--- Comment #1 from mhasko@redhat.com 2011-11-24 11:32:27 UTC ---
Created attachment 27979
--> https://issues.apache.org/bugzilla/attachment.cgi?id=27979
the patch
re-attaching the patch, it failed to create at bug submission
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 52237] build.xml file improvement to allow not
just plaintext junit logs.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52237
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-11-30 20:55:27 UTC ---
Patch applied to trunk and 7.0.x and it will be included in 7.0.24 onwards.
Many thanks for the patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org