phpunitHow to disable color output in PHPUnit?
To disable color output in PHPUnit, you can use the --no-colors
flag when running the test suite. For example:
$ phpunit --no-colors
This will disable all color output from PHPUnit.
Code explanation
phpunit
: The command to run the test suite--no-colors
: The flag to disable color output
No relevant links.
More of Phpunit
- What are PHPUnit required extensions
- How to mock a method with different arguments in PHPUnit?
- How to assert that key exists in an array using PHPUnit?
- How to use the PHPUnit Framework TestCase?
- How to skip a PHPUnit test?
- How to mock a property in PHPUnit?
- How to stop PHPUnit on failure?
- How to install PHPUnit with a PHAR file?
- How to order tests with PHPUnit?
- How to use PHPUnit json assert?
See more codes...