I'm working on improving Maven's support for JUnit 4. In particular, I'm
trying to add the "value" (or reason) of the @Ignore parameter to Maven's
I'm a bit confused by what I'm seeing, because it doesn't appear to be
possible to access the reason. We implement RunListener to get notified
of @Ignore events, and that method accepts a Description object. The
Description's displayName is just the name of the test and its class, e.g.
"testIgnorable(MyTest)", but no reason is given.
Similarly, calls to RunNotifier.fireTestIgnored are unable to pass
anything but a Description; no reasons are allowed.
Am I right in thinking that it's impossible for us to report the reason
why a test was ignored? If so, what is the point of that value parameter?
(Just a comment?)