function PhpUnitTestRunner::__construct

Same name in other branches
  1. 9 core/lib/Drupal/Core/Test/PhpUnitTestRunner.php \Drupal\Core\Test\PhpUnitTestRunner::__construct()
  2. 8.9.x core/lib/Drupal/Core/Test/PhpUnitTestRunner.php \Drupal\Core\Test\PhpUnitTestRunner::__construct()
  3. 10 core/lib/Drupal/Core/Test/PhpUnitTestRunner.php \Drupal\Core\Test\PhpUnitTestRunner::__construct()

Constructs a test runner.

Parameters

string $appRoot: Path to the application root.

string $workingDirectory: Path to the working directory. JUnit log files will be stored in this directory.

File

core/lib/Drupal/Core/Test/PhpUnitTestRunner.php, line 38

Class

PhpUnitTestRunner
Run PHPUnit-based tests.

Namespace

Drupal\Core\Test

Code

public function __construct(string $appRoot, string $workingDirectory) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.