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

test

Run the application tests

Options

  • without-tty - Disable output to TTY Optional
  • coverage - Indicates whether code coverage information should be collected Optional
  • min - Indicates the minimum threshold enforcement for code coverage Optional
  • parallel - Indicates if the tests should run in parallel Optional
  • recreate-databases - Indicates if the test databases should be re-created Optional
  • drop-databases - Indicates if the test databases should be dropped Optional
php artisan test [--without-tty] [--coverage] [--min [MIN]] [-p|--parallel] [--recreate-databases] [--drop-databases]