class Illuminate / Testing / ParallelRunner
You are viewing an older version of the documentation. For the latest, please visit master documentation.

ParallelRunner

Implements

  • ParaTest\...\RunnerInterface

Properties

protected static

$applicationResolver
  • Closure
  • null
  • The application resolver callback.

    Default: null
    protected static

    $runnerResolver Closure |null

    The runner resolver callback.

    Default: null
    protected

    $options ParaTest\...\Options

    The original test runner options.

    Default: null
    protected

    $output Symfony\...\OutputInterface

    The output instance.

    Default: null
    protected

    $runner ParaTest\...\RunnerInterface

    The original test runner.

    Default: null

    Methods

    public

    __construct ( ParaTest\...\Options $options , Symfony\...\OutputInterface $output ) : void

    Creates a new test runner instance.

    Parameters

    • $options ParaTest\...\Options
    • $output Symfony\...\OutputInterface
    public static

    resolveApplicationUsing ( $resolver ) : void

    Set the application resolver callback.

    Parameters

    public static

    resolveRunnerUsing ( $resolver ) : void

    Set the runner resolver callback.

    Parameters

    public

    run ( ) : void

    Runs the test suite.

    public

    getExitCode ( ) : int

    Returns the highest exit code encountered throughout the course of test execution.

    protected

    forEachProcess ( $callback ) : void

    Apply the given callback for each process.

    Parameters

    • $callback callable
    protected

    createApplication ( ) : Application

    Creates the application.