@Ignore
or JUnit 5's @Disabled
annotations.
It is considered a code smell to have tests annotated with these annotations for a long time, especially when no reason is specified.
Example:
@Ignore
public class UrgentTest {
@Test
public void testIt() {
Assert.assertEquals("expected", "actual");
}
}
Configure the inspection:
value
attribute.