You are here

public function PhpUnitTestRunnerTest::testPhpUnitCommand in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testPhpUnitCommand()
  2. 10 core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testPhpUnitCommand()

@covers ::phpUnitCommand

File

core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php, line 72

Class

PhpUnitTestRunnerTest
@coversDefaultClass \Drupal\Core\Test\PhpUnitTestRunner @group Test

Namespace

Drupal\Tests\Core\Test

Code

public function testPhpUnitCommand() {
  $runner = new PhpUnitTestRunner($this->root, sys_get_temp_dir());
  $this
    ->assertRegExp('/phpunit/', $runner
    ->phpUnitCommand());
}