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 37426] New: - <junit> task doesn't print all the Test names when using forkmode='once'
Date Wed, 09 Nov 2005 16:01:53 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=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


Mime
View raw message