diff --git a/src/Framework/TestResult.php b/src/Framework/TestResult.php index 3425661de54..fb5b156a2ff 100644 --- a/src/Framework/TestResult.php +++ b/src/Framework/TestResult.php @@ -776,7 +776,7 @@ public function run(Test $test): void $risky = true; } - if ($this->forceCoversAnnotation) { + if ($this->forceCoversAnnotation && !$incomplete && !$skipped) { $annotations = $test->getAnnotations(); if (!isset($annotations['class']['covers']) &&