make:test

Create a new test class

Options

  • force - Create the test even if the test already exists Optional
  • unit - Create a unit test Optional
  • pest - Create a Pest test Optional
  • phpunit - Create a PHPUnit test Optional

Arguments

  • name - The name of the test Required
php artisan make:test [-f|--force] [-u|--unit] [--pest] [--phpunit] [--] <name>