Bug 54970 - Ant junit task does not call junit's RunListener.testRunFinished interface
Summary: Ant junit task does not call junit's RunListener.testRunFinished interface
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.9.1
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 17:05 UTC by J. Ahlendorf
Modified: 2013-05-22 03:38 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J. Ahlendorf 2013-05-14 17:05:59 UTC
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.