In the surefire plugin, it is possible to specify one or more RunListener when running tests with JUnit.
However, it does not look like the listener is properly called by the plugin. In particular, there is a problem with the method:
public void testRunStarted(Description description)
description - describes the tests to be run "
however, in all maven projects I tried ("mvn test"), the surefire plugin seems like passing a null reference instead of a Description instance that "describes the tests to be run "
Note: other methods in the RunListener I tested seems fine (i.e., they get a valid Description object as input)