The Laravel Artisan Cheatsheet
A searchable, bookmarkable cheatsheet for
Laravel's
Artisan commands.
Home
API
Laravel Version
9.x
make:test
🖥
make:test
Create a new test class
Options
force
- Create the class even if the test already exists
Optional
pest
- Create a Pest test
Optional
unit
- Create a unit test
Optional
Arguments
name
- The name of the test
Required
php artisan make:test [-f|--force] [-u|--unit] [-p|--pest] [--] <name>
Click to copy