Commented Code In The Test

Definition:

  • The test passes but some assertions or parts of the setup, which would cause a test failure, are commented out

Also Known As:

  • Under-the-carpet Failing Assertion

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring