diff --git a/plugins/laravel/README.md b/plugins/laravel/README.md index 95f590191..53c614d9e 100644 --- a/plugins/laravel/README.md +++ b/plugins/laravel/README.md @@ -11,6 +11,14 @@ plugins=(... laravel) | `artisan` | `php artisan` | | `pas` | `php artisan serve` | +## Tests + +| Alias | Description | +|:-:|:-:| +| `pat` | `php artisan test` | +| `pu` | `vendor/bin/phpunit` | +| `puf` | `vendor/bin/phpunit --filter` | + ## Database | Alias | Description | diff --git a/plugins/laravel/laravel.plugin.zsh b/plugins/laravel/laravel.plugin.zsh index a8382d3c9..58a113301 100644 --- a/plugins/laravel/laravel.plugin.zsh +++ b/plugins/laravel/laravel.plugin.zsh @@ -5,6 +5,11 @@ alias bob='php artisan bob::build' # Development alias pas='php artisan serve' +#test +alias pat="php artisan test" +alias pu="vendor/bin/phpunit" +alias puf="vendor/bin/phpunit --filter" + # Database alias pam='php artisan migrate' alias pamf='php artisan migrate:fresh'