trait Illuminate / Testing / Concerns / RunsInParallel
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

RunsInParallel

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|ParaTest\Options

The original test runner options.

Default: null
protected

$output Symfony\...\OutputInterface

The output instance.

Default: null
protected

$runner ParaTest\...\RunnerInterface|ParaTest\RunnerInterface

The original test runner.

Default: null

Methods

public

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

Creates a new test runner instance.

Parameters

  • $options ParaTest\...\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

execute ( ) : int

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.