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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to