Reports usages of JUnit 4's @Ignore or JUnit 5's @Disabled annotations. The tests annotated with these annotations for a long time, especially without a specified reason, are a code smell.

Example:


  @Ignore
  public class UrgentTest {

    @Test
    public void testIt() {
      Assert.assertEquals("expected", "actual");
    }
  }

Configure the inspection: