ParallelRunner
class ParallelRunner implements RunnerInterface
Traits
Properties
| 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 | The original test runner options. |
from RunsInParallel |
| protected OutputInterface | $output | The output instance. |
from RunsInParallel |
| protected RunnerInterface | $runner | The original test runner. |
from RunsInParallel |
Methods
Create a new test runner instance.
Apply the given callback for each process.
Run the test suite.
Flush all static state.
Details
in
RunsInParallel at line 49
__construct(Options $options, OutputInterface $output)
Create a new test runner instance.
in
RunsInParallel 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.
in
RunsInParallel 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.
in
RunsInParallel at line 89
int
execute()
Run the test suite.
in
RunsInParallel at line 111
protected void
forEachProcess(callable $callback)
Apply the given callback for each process.
in
RunsInParallel at line 132
protected Application
createApplication()
Create the application.
at line 17
int
run()
Run the test suite.
at line 25
static void
flushState()
Flush all static state.