RunsInParallel
trait RunsInParallel
Properties
| static protected Closure|null | $applicationResolver | The application resolver callback. |
|
| static protected Closure|null | $runnerResolver | The runner resolver callback. |
|
| protected Options | $options | The original test runner options. |
|
| protected OutputInterface | $output | The output instance. |
|
| protected RunnerInterface | $runner | The original test runner. |
Methods
Create a new test runner instance.
Run the test suite.
Apply the given callback for each process.
Create the application.
Details
at line 49
__construct(Options $options, OutputInterface $output)
Create a new test runner instance.
at line 70
static void
resolveApplicationUsing(Closure|null $resolver)
Set the application resolver callback.
Tests only. The resolver persists in a static property for the worker lifetime and affects every subsequent parallel test runner instance.
at line 81
static void
resolveRunnerUsing(Closure|null $resolver)
Set the runner resolver callback.
Tests only. The resolver persists in a static property for the worker lifetime and affects every subsequent parallel test runner instance.
at line 89
int
execute()
Run the test suite.
at line 111
protected void
forEachProcess(callable $callback)
Apply the given callback for each process.
at line 132
protected Application
createApplication()
Create the application.