You are here

public function PhpUnitTestRunnerTest::testXmlLogFilePath in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Test/PhpUnitTestRunnerTest.php \Drupal\Tests\Core\Test\PhpUnitTestRunnerTest::testXmlLogFilePath()

@covers ::xmlLogFilePath

File

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

Class

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

Namespace

Drupal\Tests\Core\Test

Code

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