The Laravel Artisan Cheatsheet now has an API. Learn more.

make:test

Create a new test class

Options

  • unit - Create a unit test Optional

Arguments

  • name - The name of the class Required
php artisan make:test [--unit] [--] <name>