phpunit-pretty-print icon indicating copy to clipboard operation
phpunit-pretty-print copied to clipboard

[enhancement] Print error messages in color

Open mr-feek opened this issue 4 years ago • 2 comments

Most phpunit assertion methods have an optional message parameter. Would be great to print this in color to make it stand out.

IE A billing message is expected to be written should be red/yellow to make it stand out. In this case, Failed asserting that 0 is identical to 1. isn't helpful at all because that is an underlying phpunit message.

image

mr-feek avatar Mar 30 '20 21:03 mr-feek

Good idea. PR welcome 👍

ecrmnn avatar Apr 08 '20 06:04 ecrmnn

When I will have time, I will try to resolve this issue. 🚀

YaFou avatar Apr 08 '20 07:04 YaFou