[rules-dev] Commented out tests in all modules: Please make them @Ignore tests or remove them

Wolfgang Laun wolfgang.laun at gmail.com
Wed Dec 29 09:54:56 EST 2010


Geoffrey & Co.,

I called in one of the local Green Berets, and he finally resolved this
matter. What I had was

class FooTest extends junit.framework.TestCase {
   //...
}

and this is sufficient to force the JUnit 3 test runner, which ignores all
annotations. Using this

class FooTest{
   //...
}

*and annotating all testX methods with @Test *will use a JUnit4 test runner,
which honours @Ignore.

Perhaps I misinterpreted Geoffrey's remark to do a pull --rebase - I thought
this would update the XyzTest files he had changed, not some general update?
(Also, being in the midst of some rework/refactoring, I didn't want to risk
losing any of my work.)

Anyway, I'll take care of the tests in drools-decisiontables and
drools-template.

Cheers
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20101229/ad0b573a/attachment.html 


More information about the rules-dev mailing list