FunctionalTestSuite.php
Same filename in other branches
Namespace
Drupal\Tests\TestSuitesFile
-
core/
tests/ TestSuites/ FunctionalTestSuite.php
View source
<?php
namespace Drupal\Tests\TestSuites;
require_once __DIR__ . '/TestSuiteBase.php';
/**
* Discovers tests for the functional test suite.
*/
class FunctionalTestSuite extends TestSuiteBase {
/**
* Factory method which loads up a suite with all functional tests.
*
* @return static
* The test suite.
*/
public static function suite() {
$root = dirname(__DIR__, 3);
$suite = new static('functional');
$suite->addTestsBySuiteNamespace($root, 'Functional');
return $suite;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
FunctionalTestSuite | Discovers tests for the functional test suite. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.