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
- How to show warnings in PHPUnit?
- What are PHPUnit required extensions
- How to install PHPUnit with a PHAR file?
- How to install PHPUnit from Packagist?
- How to run tests in parallel with PHPUnit?
- How to order tests with PHPUnit?
- How to mock a static method with PHPUnit?
- How to generate a JUnit report in PHPUnit?
- How to mock a query builder with PHPUnit?
- How to mock an interface in PHPUnit?
See more codes...