Hidden Integration Test

Definition:

  • A PUT outcome depends on the state of the environment.

Code Example:

[PexMethod]
void FileExists(string fileName) {
if (!File.Exists(fileName))
throw new FileNotFoundException();
...
}

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring