limedeck / phpunit-detailed-printer
Formatter for the detailed output of PHPUnit tests.
Installs: 493 756
Dependents: 48
Suggesters: 0
Security: 0
Stars: 39
Watchers: 3
Forks: 12
Open Issues: 3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.14
- phpunit/phpunit: ~9.0
README
It turns the default PHPUnit output...
... into a more informative output with readable function names and execution time allowing you to start fixing errors even before the whole suite finishes:
Installation
composer require limedeck/phpunit-detailed-printer --dev
PHPUnit version compatibility
Usage
Set the printer class in phpunit.xml
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
...
printerClass="LimeDeck\Testing\Printer"
...
>
Tests
To run the test suite, use phpunit
command.
Contributing
Thanks for your interest in PHPUnit Detailed Printer! If you'd like to contribute, please read our contributing guide.
License
Detailed PHPUnit Printer is open-sourced software licensed under the MIT license. If you'd like to read the license agreement, click here.