Hi

If you run something like "ant test -Dtestcase=TestFoo" where there's no
TestFoo.java, or "ant test -Dtestcase=TestBar -Dtests.method=testFoo" where
there's TestBar.java but no testFoo() method, the build currently passes as
SUCCESSFUL. Though, the report says "0 suits" or "1 suits, 0 tests".

I wonder if it should be a build failure? The problem I have is that you
can e.g. make a very stupid typo (usually around plurals as in
testSomethingBadOnIOException vs testSomethingBadOnIOExceptions) and get a
false SUCCESSFUL notification.

If we want to fix/change it, where does it belong - build scripts,
LuceneTestCase or randomizedrunner?

Shai

Reply via email to