ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54970] New: Ant junit task does not call junit's RunListener.testRunFinished interface
Date Tue, 14 May 2013 17:05:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54970

            Bug ID: 54970
           Summary: Ant junit task does not call junit's
                    RunListener.testRunFinished interface
           Product: Ant
           Version: 1.9.0
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
          Assignee: notifications@ant.apache.org
          Reporter: joerg.ahlendorf@nxp.com
    Classification: Unclassified

Using the Ant JUnit task to execute JUnit 4.x tests, does not call JUnit's
RunListener.testRunFinished interface after a test run.

An attached RunListener implementation in JUnit gets correctly called for
methods like testAssumptionFailure, testFailure, testFinished, testIgnored,
testStarted, but unfortunately due to some reason, testRunFinished is not
called after a completed test run.

Using the same implementation with the RemoteTestRunner of Eclipse or directly
JUnitCore shows a correct behavior and testRunFinished is called.

Remark: This above described behavior could be also seen in previous Ant
version.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message