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>