how can I enable a colored output for my tests?
I tried the command phpunit --color=always file.php, but it did not work!
Thanks for help!
it should be --colors Not --color check the docs
If you didn't get color then you can override the phpunit.xml file on your main file.
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true">
</phpunit>
Have a good day.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With