Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PhptTestCase.php

function PhptTestCase::getCoverageFiles

2 calls to PhptTestCase::getCoverageFiles()
PhptTestCase::cleanupForCoverage in vendor/phpunit/phpunit/src/Runner/PhptTestCase.php
PhptTestCase::renderForCoverage in vendor/phpunit/phpunit/src/Runner/PhptTestCase.php

File

vendor/phpunit/phpunit/src/Runner/PhptTestCase.php, line 587

Class

PhptTestCase
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Runner

Code

private function getCoverageFiles() : array {
    $baseDir = dirname(realpath($this->filename)) . DIRECTORY_SEPARATOR;
    $basename = basename($this->filename, 'phpt');
    return [
        'coverage' => $baseDir . $basename . 'coverage',
        'job' => $baseDir . $basename . 'php',
    ];
}
RSS feed
Powered by Drupal