selrahcd / phpunit-test-run-logger
A test run logger for PHPUnit. Records the results of test runs for improving TDD workflow.
v1.0
2022-08-19 17:00 UTC
Requires
- php: 7.4|8.0
- phpunit/phpunit: ^9.5
Requires (Dev)
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.8
- phpstan/phpstan-phpunit: ^1.1
- phpunit/phpunit: ^9.5
README
This is a test run logger.
After each test run it logs if the run was passing or failing.
This is useful during a Dojo session, where you want to practice and reflect on the way you've used TDD during a code kata.
Install
-
Install with composer
composer require --dev selrahcd/phpunit-test-run-logger
-
Configure PHPUnit to use the extensions, in
phpunit.xml
add
<extensions> <extension class="Selrahcd\PhpunitTestRunLogger\TestRunLogger"> </extension> </extensions>