mikeerickson / phpunit-pretty-result-printer

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

Error on Windows: The system cannot find the path specified #56

Closed erdmenchen closed 6 years ago

erdmenchen commented 6 years ago

On Windows I keep getting the "The system cannot find the path specified." error when running phpunit with the php-pretty-result-printer installed.

Tests run fine but error message is annoying.

Version information: Windows 10 (x64) - 1709 phpunit-pretty-result-printer v0.10.1 PHP 7.2.2 PHPUnit 7.0.1

erdmenchen commented 6 years ago

The error is printed due to the line

https://github.com/mikeerickson/phpunit-pretty-result-printer/blob/d70f84e14209db4f2a5e881ee07d7aeb1a6078ee/src/Printer.php#L332

This does not seem to work on Windows...

mikeerickson commented 6 years ago

@erdmenchen can you please test against 0.11.0 which was just posted (caught me just before I published new version)

erdmenchen commented 6 years ago

I can confirm, now the error message is not shown anymore. Thanks a lot!

mikeerickson commented 6 years ago

@erdmenchen Awesome, thank you!