namespace Drupal\KernelTests

Same name in other branches
  1. 11.x Drupal\KernelTests
  2. 10 Drupal\KernelTests
  3. 8.9.x 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.
KernelTestBaseDatabaseDriverModuleTest core/tests/Drupal/KernelTests/KernelTestBaseDatabaseDriverModuleTest.php @coversDefaultClass \Drupal\KernelTests\KernelTestBase
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.

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