I have a set of JUnit Test Cases and I execute them from ANT using the junit task. While executing the tests, in the console I get to see only which test case (i.e. Java cla
Derive a class from RunListener and override the testStarted() method. It receives a Description parameter from which you can obtain the test class and the test method -- e.g., description.getMethodName().