namespace Drupal\KernelTests

Same name in other branches
  1. 11.x Drupal\KernelTests
  2. 9 Drupal\KernelTests
  3. 10 Drupal\KernelTests
Object name File name Summary
AssertConfigTrait core/tests/Drupal/KernelTests/AssertConfigTrait.php Trait to help with diffing config.
AssertContentTrait core/tests/Drupal/KernelTests/AssertContentTrait.php Provides test methods to assert content.
AssertLegacyTrait core/tests/Drupal/KernelTests/AssertLegacyTrait.php Translates Simpletest assertion methods to PHPUnit.
ConfigFormTestBase core/tests/Drupal/KernelTests/ConfigFormTestBase.php Full generic test suite for any form that data with the configuration system.
FileSystemModuleDiscoveryDataProviderTrait core/tests/Drupal/KernelTests/FileSystemModuleDiscoveryDataProviderTrait.php A trait used in testing for providing a list of modules in a dataProvider.
KernelMissingDependentModuleMethodTest core/tests/fixtures/KernelMissingDependentModuleMethodTest.php A fixture test class with requires annotation.
KernelMissingDependentModuleTest core/tests/fixtures/KernelMissingDependentModuleTest.php A fixture test class with requires annotation.
KernelTestBase core/tests/Drupal/KernelTests/KernelTestBase.php Base class for functional integration tests.
KernelTestBaseShutdownTest core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase
KernelTestBaseTest core/tests/Drupal/KernelTests/KernelTestBaseTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase
RouteProvider core/tests/Drupal/KernelTests/RouteProvider.php Rebuilds the router when the provider is instantiated.
TestServiceProvider core/tests/Drupal/KernelTests/TestServiceProvider.php Provides special routing services for tests.

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