ParallelRunner
class ParallelRunner implements RunnerInterface (View source)
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 | $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 |
Methods
Creates a new test runner instance.
Returns the highest exit code encountered throughout the course of test execution.
Apply the given callback for each process.
Runs the test suite.
Details
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.
protected void
forEachProcess(callable $callback)
Apply the given callback for each process.
protected Application
createApplication()
Creates the application.
void
run()
Runs the test suite.
Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.