While working on some NB code and trying some of the unit tests, I have
been seeing some test warnings indicating something like

"No tests found in
org.netbeans.modules.db.sql.editor.completion.CompletionQueryTestCase
junit.framework.AssertionFailedError"

Why is this warning registering (and causing a failure)?

Assume Netbean Tests are based on JUnit tests and maybe it's complaining
because there are no annotated tests (i.e. @Test) present or maybe the
method containing the "assert" test is not named correctly (i.e. is
"CompleteQueryTestCase" and not something like "testCompleteQueryTestCase"
type method names.

What is the general practice when developing unit tests in Netbeans?

Eric Bresie
[email protected]

Reply via email to