public static function FunctionalTestSuite::suite in Drupal 8
Same name and namespace in other branches
- 9 core/tests/TestSuites/FunctionalTestSuite.php \Drupal\Tests\TestSuites\FunctionalTestSuite::suite()
Factory method which loads up a suite with all functional tests.
Return value
static The test suite.
File
- core/
tests/ TestSuites/ FunctionalTestSuite.php, line 18
Class
- FunctionalTestSuite
- Discovers tests for the functional test suite.
Namespace
Drupal\Tests\TestSuitesCode
public static function suite() {
$root = dirname(dirname(dirname(__DIR__)));
$suite = new static('functional');
$suite
->addTestsBySuiteNamespace($root, 'Functional');
return $suite;
}