namespace Drupal\Core\Test

Same name in other branches
  1. 11.x Drupal\Core\Test
  2. 9 Drupal\Core\Test
  3. 8.9.x Drupal\Core\Test
Object name File name Summary
AssertMailTrait core/lib/Drupal/Core/Test/AssertMailTrait.php Provides methods for testing emails sent during test runs.
EnvironmentCleaner core/lib/Drupal/Core/Test/EnvironmentCleaner.php Helper class for cleaning test environments.
EnvironmentCleanerInterface core/lib/Drupal/Core/Test/EnvironmentCleanerInterface.php Defines an interface for cleaning up test results and fixtures.
FunctionalTestSetupTrait core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php Defines a trait for shared functional test setup functionality.
JUnitConverter core/lib/Drupal/Core/Test/JUnitConverter.php Converts JUnit XML to Drupal's {simpletest} schema.
ObjectSerialization core/lib/Drupal/Core/Test/ObjectSerialization.php Object to test that security issues around serialization.
PerformanceTestRecorder core/lib/Drupal/Core/Test/PerformanceTestRecorder.php Records the number of times specific events occur.
PhpUnitTestRunner core/lib/Drupal/Core/Test/PhpUnitTestRunner.php Run PHPUnit-based tests.
RefreshVariablesTrait core/lib/Drupal/Core/Test/RefreshVariablesTrait.php Provides a method to refresh in-memory configuration and state information.
SimpletestTestRunResultsStorage core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Implements a test run results storage compatible with legacy Simpletest.
TestDatabase core/lib/Drupal/Core/Test/TestDatabase.php Provides helper methods for interacting with the fixture database.
TestDiscovery core/lib/Drupal/Core/Test/TestDiscovery.php Discovers available tests.
TestKernel core/lib/Drupal/Core/Test/TestKernel.php Kernel that is only used by mock front controllers.
TestRun core/lib/Drupal/Core/Test/TestRun.php Implements an object that tracks execution of a test run.
TestRunnerKernel core/lib/Drupal/Core/Test/TestRunnerKernel.php Defines a kernel used for running Functional tests and run-tests.sh.
TestRunResultsStorageInterface core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Interface describing a test run results storage object.
TestSetupTrait core/lib/Drupal/Core/Test/TestSetupTrait.php Provides a trait for shared test setup functionality.
TestStatus core/lib/Drupal/Core/Test/TestStatus.php Consolidates test result status information.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.