diff --git a/src/TestResult.php b/src/TestResult.php index d6d398a..ebef8fa 100644 --- a/src/TestResult.php +++ b/src/TestResult.php @@ -50,7 +50,7 @@ private function parseOutput(): void private function parseMainMetrics(): void { // Duration - if (preg_match('/Duration:\s+([\d.]+s)/', $this->rawOutput, $matches)) { + if (preg_match('/Duration:\s+([\d.]+(?:ms|s|m|hr))/', $this->rawOutput, $matches)) { $this->parsedResults['duration'] = $matches[1]; }