function TestDiscovery::__construct
Constructs a new test discovery.
Parameters
string $root: The app root.
class-string $class_loader: The class loader. Normally Composer's ClassLoader, as included by the front controller, but may also be decorated.
File
- 
              core/lib/ Drupal/ Core/ Test/ TestDiscovery.php, line 68 
Class
- TestDiscovery
- Discovers available tests.
Namespace
Drupal\Core\TestCode
public function __construct($root, $class_loader) {
  $this->root = $root;
  $this->classLoader = $class_loader;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
