abstract protected function TestBase::setUp in Drupal 8
Performs setup tasks before each individual test method is run.
1 call to TestBase::setUp()
- TestBase::run in core/
modules/ simpletest/ src/ TestBase.php - Run all tests in this class.
2 methods override TestBase::setUp()
- KernelTestBase::setUp in core/
modules/ simpletest/ src/ KernelTestBase.php - Performs setup tasks before each individual test method is run.
- WebTestBase::setUp in core/
modules/ simpletest/ src/ WebTestBase.php - Sets up a Drupal site for running functional and integration tests.
File
- core/
modules/ simpletest/ src/ TestBase.php, line 273
Class
- TestBase
- Base class for Drupal tests.
Namespace
Drupal\simpletestCode
protected abstract function setUp();