Laravel testing: Difference between revisions
From AWVVO
Jump to navigationJump to search
Created page with "== Run test == <syntaxhighlight lang="" line highlight="" copy> php artisan test </<syntaxhighlight>" |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
== Run test == | == Run test == | ||
<syntaxhighlight lang="" line highlight="" copy> | <syntaxhighlight lang="bash" line highlight="" copy> | ||
php artisan test | php artisan test | ||
</<syntaxhighlight> | </syntaxhighlight> | ||
== Run single test == | |||
<syntaxhighlight lang="bash" line highlight="" copy> | |||
php artisan test --filter testMethodName | |||
</syntaxhighlight> |
Latest revision as of 10:23, 29 January 2025
Run test
php artisan test
Run single test
php artisan test --filter testMethodName