Well, My Setup Works

Definition:

  • a test does not share enough of the setup code used in production, so the test setup can deviate from the production code meaningfully, or at best duplicates production code unnecessarily

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring