Success Against All Odds

Definition:

  • A test that was written to pass first rather than fail first. As an unfortunate side effect, the test case happens to always pass even though the test should fail.

Also Known As:

  • The Liar

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring