public static function PhpUnitTestRunner::create in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Test/PhpUnitTestRunner.php \Drupal\Core\Test\PhpUnitTestRunner::create()
- 9 core/lib/Drupal/Core/Test/PhpUnitTestRunner.php \Drupal\Core\Test\PhpUnitTestRunner::create()
File
- core/
lib/ Drupal/ Core/ Test/ PhpUnitTestRunner.php, line 44
Class
- PhpUnitTestRunner
- Run PHPUnit-based tests.
Namespace
Drupal\Core\TestCode
public static function create(ContainerInterface $container) {
return new static((string) $container
->getParameter('app.root'), (string) $container
->get('file_system')
->realpath('public://simpletest'));
}