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=40663>.
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=40663

           Summary: junit: cannot see test class name unless fork=true
           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]


While the tests are running, when fork=false, no test names print just results,
like so:
    [junit] Running initech.modules.accontung.RoundingErrorTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.265 sec
    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.453 sec

Where really the output format should be the same regardless of the setting of
fork, like so:
    [junit] Running initech.modules.accontung.RoundingErrorTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.437 sec
    [junit] Running initech.modules.accontung.AccountAssignmentTest
    [junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.265 sec
    [junit] Running initech.modules.accontung.SwinglineStaplerTest
    [junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.219 sec
    [junit] Running initech.modules.accontung.BuildingFireAlarmTest
    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0.453 sec

In our case, we are using fork=true only for this reason, even though we would
really love to experience the performance boost of not spawning dozens of new 
JVMs.

-- 
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