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 40663] New: - junit: cannot see test class name unless fork=true
Date Mon, 02 Oct 2006 18:00:29 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=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: david.goldstein@gdc4s.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message