Run the tests of a module
Run tests runs module:test of nwidart/laravel-modules. The command exists from 13.4 on.
On an older package the button stays off, and the panel says “The package has no command for the tests of one module yet.”
You need to have chosen the PHP for the app.
-
Select the module in the module index. For the tests of every module, select All modules.
-
Open the Actions tab, or press 4, and select Run tests, or Run all module tests for all modules. The Run tests button in the module header opens the same panel.
-
To run only some tests, type a test name or a pattern in Filter, a test name or pattern.
-
To run the tests in parallel, check Run in parallel.
-
Read the line under Command, then press Run tests, or Ctrl Enter (Cmd Enter on macOS).


The runner drawer shows the output. A message counts the tests, such as “12 tests passed in Billing.” or “2 of 12 tests failed in Billing.”
The panel is described in Actions. The output and the history of runs are in Runner.