Dne pátek 19. února 2021 17:42:52 CET, Eric Bresie napsal(a):
> 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?

https://openide.netbeans.org/tutorial/test-patterns.html
-jt




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to