diff --git a/src/ResultPrinter/Report.php b/src/ResultPrinter/Report.php index c252687..3d0aab3 100644 --- a/src/ResultPrinter/Report.php +++ b/src/ResultPrinter/Report.php @@ -45,18 +45,19 @@ public function endTest(\PHPUnit\Framework\Test $test, $time) protected function endRun() { - $this->write("\nCodeception Results\n"); - $this->write(sprintf( - "Successful: %s. Failed: %s. Incomplete: %s. Skipped: %s", - $this->successful, - $this->failed, - $this->skipped, - $this->incomplete - ) . "\n"); } public function printResult(\PHPUnit\Framework\TestResult $result) { + $this->write("\nCodeception Results\n"); + $this->write(sprintf( + "Successful: %d. Failed: %d. Incomplete: %d. Skipped: %d. Useless: %d", + $this->successful, + $this->failed, + $this->incomplete, + $this->skipped, + $this->risky + ) . "\n"); } public function write($buffer)