added test commands

This commit is contained in:
m7md3omer 2020-09-05 12:28:08 +02:00
parent 708ea42384
commit 71dff06157
2 changed files with 13 additions and 0 deletions

View file

@ -11,6 +11,14 @@ plugins=(... laravel)
| `artisan` | `php artisan` | | `artisan` | `php artisan` |
| `pas` | `php artisan serve` | | `pas` | `php artisan serve` |
## Tests
| Alias | Description |
|:-:|:-:|
| `pat` | `php artisan test` |
| `pu` | `vendor/bin/phpunit` |
| `puf` | `vendor/bin/phpunit --filter` |
## Database ## Database
| Alias | Description | | Alias | Description |

View file

@ -5,6 +5,11 @@ alias bob='php artisan bob::build'
# Development # Development
alias pas='php artisan serve' alias pas='php artisan serve'
#test
alias pat="php artisan test"
alias pu="vendor/bin/phpunit"
alias puf="vendor/bin/phpunit --filter"
# Database # Database
alias pam='php artisan migrate' alias pam='php artisan migrate'
alias pamf='php artisan migrate:fresh' alias pamf='php artisan migrate:fresh'