From 71dff06157eac186c6ee6d9352f4033523452ca5 Mon Sep 17 00:00:00 2001 From: m7md3omer Date: Sat, 5 Sep 2020 12:28:08 +0200 Subject: [PATCH] added test commands --- plugins/laravel/README.md | 8 ++++++++ plugins/laravel/laravel.plugin.zsh | 5 +++++ 2 files changed, 13 insertions(+) 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'