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 2005/11/09 17:01:53 UTC
DO NOT REPLY [Bug 37426] New: -
task doesn't print all the Test names when using forkmode='once'
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=37426>.
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=37426
Summary: <junit> task doesn't print all the Test names when using
forkmode='once'
Product: Ant
Version: 1.6.5
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: maarten.coene@hotpop.com
Hi,
if you use forkmode='once' for your junit task, the names of tests are not
printed to the console. Only 1 test-name is printed!!!
for example:
junit:
[junit] Running org.example.MyTest3
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,05 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0 sec
However,
the expected output is (which is the same output as you get when using
forkmode='perTest'):
junit:
[junit] Running org.example.MyTest1
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,05 sec
[junit] Running org.example.MyTest2
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[junit] Running org.example.MyTest3
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0 sec
I'll upload a patch which fixes this.
regards,
Maarten
--
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