ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51788] New: JUnitResultFormatter#endTestSuite called too late
Date Thu, 08 Sep 2011 14:37:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51788

             Bug #: 51788
           Summary: JUnitResultFormatter#endTestSuite called too late
           Product: Ant
           Version: 1.8.2
          Platform: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: paul.schwann@gmail.com
    Classification: Unclassified


The method endTestSuite(JUnitTest) of interface
org.apache.tools.ant.taskdefs.optional.junit.JUnitResultFormatter is called
*AFTER* the output stream has been closed already by JUnitTestRunner. Thus, any
output created in that method is not catched by the JUnit result formatting
mechanism and not included in the result report.

This is very bad because our formatter should create output after all test of a
test suite are done. And of course, that output shall go into the test report
as well.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message