Hardcoded Environment

Definition:

  • The test contains hardcoded references to the environment when the same requirement must be run against different test environments instead of having an environment-agnostic test.

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring