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