Reports test methods that do not contain any assertions. Such methods may indicate either incomplete or weak test cases.

Example:


  public class ExtensiveTest {

    @Test
    public void testAlive() {
      System.out.println("nothing");
    }
  }

Configure the inspection: