namespace Drupal\Tests

Same name in other branches
  1. 11.x Drupal\Tests
  2. 8.9.x Drupal\Tests
  3. 10 Drupal\Tests
Object name File name Summary
AssertHelperTestClass core/tests/fixtures/AssertHelperTestClass.php A helper class for deprecation of AssertHelperTrait.
AssertHelperTrait core/tests/Drupal/Tests/AssertHelperTrait.php Provides helper methods for assertions.
AssertHelperTraitTest core/tests/Drupal/Tests/AssertHelperTraitTest.php @coversDefaultClass \Drupal\Tests\AssertHelperTrait
@group simpletest
@group Tests
@group legacy
BrowserHtmlDebugTrait core/tests/Drupal/Tests/BrowserHtmlDebugTrait.php Provides the debug functions for browser tests.
BrowserTestBase core/tests/Drupal/Tests/BrowserTestBase.php Provides a test case for functional Drupal tests.
ComposerIntegrationTest core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests Composer integration.
ConfigTestTrait core/tests/Drupal/Tests/ConfigTestTrait.php Provides helper methods to deal with config system objects in tests.
DocumentElement core/tests/Drupal/Tests/DocumentElement.php Document element.
DrupalTestBrowser core/tests/Drupal/Tests/DrupalTestBrowser.php Enables a BrowserKitDriver mink driver to use a Guzzle client.
EntityViewTrait core/tests/Drupal/Tests/EntityViewTrait.php Provides helper methods to deal with building entity views in tests.
ExpectDeprecationTest core/tests/Drupal/Tests/ExpectDeprecationTest.php @coversDefaultClass \Drupal\Tests\Traits\ExpectDeprecationTrait
ExtensionListTestTrait core/tests/Drupal/Tests/ExtensionListTestTrait.php Provides extension list methods.
HiddenFieldSelector core/tests/Drupal/Tests/HiddenFieldSelector.php Extends PartialNamedSelector to allow retrieval of hidden fields.
PhpUnitWarningsTest core/tests/Drupal/Tests/PhpUnitWarningsTest.php @coversDefaultClass \Drupal\Tests\Traits\PhpUnitWarnings
@group legacy
RandomGeneratorTrait core/tests/Drupal/Tests/RandomGeneratorTrait.php Provides random generator utility methods.
RequirementsPageTrait core/tests/Drupal/Tests/RequirementsPageTrait.php Provides helper methods for the requirements page.
SchemaCheckTestTrait core/tests/Drupal/Tests/SchemaCheckTestTrait.php Provides a class for checking configuration schema.
SessionTestTrait core/tests/Drupal/Tests/SessionTestTrait.php Provides methods to generate and get session name in tests.
SkippedDeprecationTest core/tests/Drupal/Tests/SkippedDeprecationTest.php @group Test
StreamCapturer core/tests/Drupal/Tests/StreamCapturer.php Captures output to a stream and stores it for retrieval.
TestFileCreationTrait core/tests/Drupal/Tests/TestFileCreationTrait.php Provides methods to create test files from given values.
TestRequirementsTrait core/tests/Drupal/Tests/TestRequirementsTrait.php Allows test classes to require Drupal modules as dependencies.
UiHelperTrait core/tests/Drupal/Tests/UiHelperTrait.php Provides UI helper methods.
UnitTestCase core/tests/Drupal/Tests/UnitTestCase.php Provides a base class and helpers for Drupal unit tests.
UnitTestCaseTest core/tests/Drupal/Tests/UnitTestCaseTest.php Tests for the UnitTestCase class.
UpdatePathTestTrait core/tests/Drupal/Tests/UpdatePathTestTrait.php Trait UpdatePathTestTrait.
WebAssert core/tests/Drupal/Tests/WebAssert.php Defines a class with methods for asserting presence of elements during tests.
XdebugRequestTrait core/tests/Drupal/Tests/XdebugRequestTrait.php

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