KernelTestBase is a class in Drupal SimpleTest that serves as the base class for writing kernel tests in PHP. It provides various methods and utilities to assist in writing and running tests for Drupal's core and contributed modules. This class helps developers to create and execute test cases that interact with the Drupal kernel, allowing them to simulate different scenarios and validate the functionality of their code. With KernelTestBase, developers can easily test the behavior of Drupal's core functionality and ensure its correctness in different environments.
PHP Drupal\simpletest KernelTestBase - 30 examples found. These are the top rated real world PHP examples of Drupal\simpletest\KernelTestBase extracted from open source projects. You can rate examples to help us improve the quality of examples.