A simple plug-in which allows to you interrupt running PHPUnit tests gracefully.
composer require --dev esler/phpunit-graceful-interruptAdd extension to your `phpunit.xml` <phpunit> <extensions> <bootstrap class="Esler\PHPUnit\GracefulInterruptExtension" /> </extensions> </phpunit>Add listener to your phpunit.xml
<phpunit> <listeners> <listener class="Esler\PHPUnit\Listener\GracefulInterruptListener" /> </listeners> </phpunit>Just hit Ctrl+\ to interrupt running tests. Errors and failures from previous tests will be shown.
More info.
MIT