function TestRun::getTestClass

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Test/TestRun.php \Drupal\Core\Test\TestRun::getTestClass()
  2. 10 core/lib/Drupal/Core/Test/TestRun.php \Drupal\Core\Test\TestRun::getTestClass()

Gets the latest class under test.

Return value

string The test class.

File

core/lib/Drupal/Core/Test/TestRun.php, line 150

Class

TestRun
Implements an object that tracks execution of a test run.

Namespace

Drupal\Core\Test

Code

public function getTestClass() : string {
  return $this->testClass;
}

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