Wouldn’t it be great if your PHPUnit tests would be automatically rerun whenever you change some code? This package can do exactly that.
By default it will watch all files in the
testssubdirectories in the directory where it is started.
Installation per Composer, of course:
composer global require spatie/phpunit-watcher