mikeerickson / phpunit-pretty-result-printer

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

Fix can't enable/disable colors #19

Closed gerardroche closed 6 years ago

gerardroche commented 6 years ago

The "colors" property of the extended results printer controls enabling and disabling of colors output e.g. via phpunit --colors=never, so we shouldn't override it with the colors tool.

Closes https://github.com/gerardroche/sublime-phpunit/issues/77

gerardroche commented 6 years ago

Did or didn't?

I think I'd go stir crazy running tests without the red green feedback.

The only reason I need to disable it is because I'm running my tests from with Sublime Text with PHPUnitKit and it can't handle the terminal colors, so parses the output and colors it itself.

When I run on the terminal... always color: alias p='phpunit --color'.

6bf566725277333133cdc7f70f38e499a528e11d