function PhpUnitTestRunnerTest::testXmlLogFilePath

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testXmlLogFilePath()
  2. 10 core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testXmlLogFilePath()
  3. 9 core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testXmlLogFilePath()
  4. 8.9.x core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testXmlLogFilePath()

Tests xml log file path.

File

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

Class

PhpUnitTestRunnerTest
Tests Drupal\Core\Test\PhpUnitTestRunner.

Namespace

Drupal\Tests\Core\Test

Code

public function testXmlLogFilePath() : void {
  $runner = new PhpUnitTestRunner($this->root, sys_get_temp_dir());
  $this->assertStringEndsWith('phpunit-23.xml', $runner->xmlLogFilePath(23));
}

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