Missing Assertions

Definition:

  • The subject includes behavior which is not asserted by the test, whether implicitly or explicitly.

  • The test method consists of an empty block

Code Example:

public void testSomething() {
  // TODO
}

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring