Inappropriately Shared Fixture

Definition:

  • Several test cases in the test fixture do not even use or need the setup / teardown. Partly due to developer inertia to create a new test fixture… easier to just add one more test case to the pile

Also Known As:

  • Excessive Setup

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring