trait RunsInParallel (View source)
| CreatesApplication |
| static protected Closure|null | $applicationResolver | The application resolver callback. | |
| static protected Closure|null | $runnerResolver | The runner resolver callback. | |
| protected Options|Options | $options | The original test runner options. | |
| protected OutputInterface | $output | The output instance. | |
| protected RunnerInterface|RunnerInterface | $runner | The original test runner. |
| void | __construct(Options|Options $options, OutputInterface $output)
Creates a new test runner instance. | |
| static void | resolveApplicationUsing(Closure|null $resolver)
Set the application resolver callback. | |
| static void | resolveRunnerUsing(Closure|null $resolver)
Set the runner resolver callback. | |
| int | execute()
Runs the test suite. | |
| int | getExitCode()
Returns the highest exit code encountered throughout the course of test execution. | |
| void | forEachProcess(callable $callback)
Apply the given callback for each process. | |
| Application | createApplication()
Creates the application. |
Creates a new test runner instance.
Set the application resolver callback.
Set the runner resolver callback.
Runs the test suite.
Returns the highest exit code encountered throughout the course of test execution.
Apply the given callback for each process.
Creates the application.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Testing/Concerns/RunsInParallel.html