mikeerickson / phpunit-pretty-result-printer

PHPUnit Pretty Result Printer -- make your PHPUnit tests look pretty!
MIT License
1.2k stars 71 forks source link

Timer::start() has to be called before Timer::stop() #184

Open kec2 opened 1 year ago

kec2 commented 1 year ago

What version of this package are you using? 0.32.0

What operating system, Node.js, and npm version? Debian 11, Composer version 2.4.4, Php 8.1

What happened? PHPUnit Pretty Result Printer 0.32.0 by Codedungeon and contributors. '==> Configuration: '/var/www/html/vendor/codedungeon/phpunit-result-printer/src/phpunit-printer.yml PHPUnit 9.5.27 by Sebastian Bergmann and contributors. ==> TestAllocine ∅ ∅ ∅ ∅ ∅ Time: 00:00.461, Memory: 18.00 MB OK, but incomplete, skipped, or risky tests! Tests: 5, Assertions: 0, Incomplete: 5. PHPUnit 9.5.27 by Sebastian Bergmann and contributors. ==> TestAmazonAWS ∅ ∅ An exception occurred: Timer::start() has to be called before Timer::stop()

I don't get this exception with the default HTML printer.

What did you expect to happen? Not an exception.

Are you willing to submit a pull request to fix this bug? No