pkboom / laravel-test-watcher
a test watcher
0.1.2
2022-09-27 17:28 UTC
Requires
- php: ^8.0
- clue/stdio-react: ^2.5
- illuminate/collections: ^8.75|^9.0
- illuminate/console: ^8.53|^9.0
- illuminate/support: ^8.75|^9.0
- pkboom/file-watcher: ^0.2.0
- react/event-loop: ^1.1
- symfony/console: ^5.3|^6.0
- symfony/finder: ^5.4|^6.0
Requires (Dev)
- orchestra/testbench: ^6.23
- phpunit/phpunit: ^9.5
- pkboom/test-creator: ^0.1.1
This package is auto-updated.
Last update: 2024-08-27 22:01:30 UTC
README
Laravel Test Watcher will rerun tests whenever you save changes.
Installation
composer require pkboom/laravel-test-watcher
You can publish the config:
php artisan vendor:publish --provider="Pkboom\TestWatcher\TestWatcherServiceProvider" --tag="config"
Usage
php artisan test:watch // with name php artisan test:watch ExampleTest
Then tests will be run.
At the bottom you have three options:
- f: filter
- q: quit
Press f to filter tests.
Type a name you want to filter by. Press tab
to get help from autocomplete.
To publish the config file to config/test-watcher.php run:
php artisan vendor:publish --provider="Pkboom\TestWatcher\TestWatcherServiceProvider"
License
The MIT License (MIT). Please see MIT license for more information.