|Re: Using JUnit @Rule with Eclipse's test runner [message #882861]
||Thu, 07 June 2012 10:35
| Dani Megert
Registered: July 2009
On 21.05.2012 18:02, Eric Rizzo wrote:|
> Eclipse 3.7.2
> I just implemented an @Rule in some JUnit 4 tests, but when I run them
> in Eclipse the MethodRule methods are not being called. It's like the
> Eclipse test runner doesn't recognize the @Rule implementations and
> doesn't do anything special with fields that are annotated with @Rule.
> Is there some trick? Does Eclipse simply not support JUnit Rules?
Please file a bug report against JDT UI with a simple test case.
> Info on the @Rule annotation: http://junit.org/node/580
Powered by FUDForum
. Page generated in 0.01913 seconds