Conditionals In Tests

Definition:

  • having “ifs” in tests is wrong; it’s proof that you need another test scenario

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring