Mercurial > hg > cmmr2012-drupal-site
view core/tests/TestSuites/FunctionalTestSuite.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
line wrap: on
line 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(dirname(dirname(__DIR__))); $suite = new static('functional'); $suite->addTestsBySuiteNamespace($root, 'Functional'); return $suite; } }