Explore
1-9 of 9
JUnit 4: assertEquals suspicious order of arguments (with message)
Suspicious argument values for 'expected' and 'actual'
- warning
- java
- testing
- framework specific
- JUnit 4
- quality
JUnit 4: assertEquals suspicious order of arguments (with message)
Suspicious argument values for 'expected' and 'actual'
- warning
- java
- testing
- framework specific
- JUnit 4
- quality
JUnit 4: @Ignored Description
Add a description to indicate why the test has been ignored.
- warning
- java
- testing
- framework specific
- JUnit 4
- quality
JUnit 4: Incorrect method signature for annotation
The annotations on this method require it to have a void return type and not be private.
- error
- java
- kotlin
- testing
- framework specific
- JUnit 4
- quality
JUnit 4: Incorrect method signature for annotation (Class)
The annotations on this method require it to have a void return type, not be private, and be static.
- error
- java
- kotlin
- testing
- framework specific
- JUnit 4
- quality
JUnit 4: Incorrect method signature for annotation (Class - arguments)
The annotations on this method require it to have no arguments.
- error
- java
- testing
- framework specific
- JUnit 4
- quality
JUnit 4: @Test annotation missing
Method with assertions is missing @Test annotation
- error
- java
- testing
- framework specific
- JUnit 4
- quality
JUnit: Mixed use of JUnit versions
This class is using multiple versions of JUnit. Consider standardizing to the latest JUnit version, and/or to AssertJ for assertions.
- warning
- java
- JUnit
- testing
- framework specific
- JUnit 4
- JUnit 5
- quality
Test framework: Enforce @Rule annotation for a JUnitSoftAssertions field
A JUnitSoftAssertions field always need to have the @Rule annotation
- error
- java
- testing
- framework specific
- JUnit 4
- quality