Explore

Filters (0) Clear filters
Languages
Level
Tags

176-200 of 579

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 5: assertEquals suspicious order of arguments

Suspicious argument values for 'expected' and 'actual'

  • warning
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: assertEquals suspicious order of arguments (with message)

Suspicious argument values for 'expected' and 'actual'

  • warning
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: @Disabled Description

Add a description to indicate why the test has been disabled.

  • warning
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: Incorrect method signature for annotation (All)

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 5
  • quality
JUnit 5: Incorrect method signature for annotation (Each)

The annotations on this method require it to have a void return type, not be private, and not be static.

  • error
  • java
  • kotlin
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: MethodSourceProvider should be static

Methods that return a Stream of Arguments should be as static

  • error
  • java
  • kotlin
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: @Nested annotation missing

Inner classes that contain test information should be marked with the @Nested annotation

  • error
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: @Nested annotation unnecessary

There is no test information in this nested class.

  • warning
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: @Nested annotation unnecessary

@Nested is only needed on nested classes

  • warning
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: @Test annotation missing

Method with assertions is missing @Test annotation

  • error
  • java
  • testing
  • framework specific
  • JUnit 5
  • quality
JUnit 5: Test method cannot be private.

JUnit tests methods cannot be private. This test will not be ran as a test.

  • warning
  • java
  • kotlin
  • testing
  • framework specific
  • JUnit 5
  • 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
Migrate add method to java.time plus method - Days

Migrate add method to java.time plus method - Days

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Hours

Migrate add method to java.time plus method - Hours

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Millis

Migrate add method to java.time plus method - Millis

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Minutes

Migrate add method to java.time plus method - Minutes

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Months

Migrate add method to java.time plus method - Months

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Seconds

Migrate add method to java.time plus method - Seconds

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Weeks

Migrate add method to java.time plus method - Weeks

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate add method to java.time plus method - Years

Migrate add method to java.time plus method - Years

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate Calendar get Day of Month

Migrate Calendar get Day of Month

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate Calendar get Day of Week

Migrate Calendar get Day of Week

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality