File: JUnit3TestNotRun.md

package info (click to toggle)
error-prone-java 2.18.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 23,204 kB
  • sloc: java: 222,992; xml: 1,319; sh: 25; makefile: 7
file content (8 lines) | stat: -rw-r--r-- 530 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
JUnit 3 requires that test method names start with "`test`". The method that
triggered this error looks like it is supposed to be a test, but misspells the
required prefix; has `@Test` annotation, but no prefix; or has the wrong method
signature. As a consequence, JUnit 3 will ignore it.

If you meant to disable this test on purpose, or this is a helper method, change
the name to something more descriptive, like "`disabledTestSomething()`". You
don't need an `@Test` annotation, but if you want to keep it, add `@Ignore` too.