Skip to content

pkboom/laravel-test-watcher

Repository files navigation

Laravel Test Watcher

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages