You are here

protected property KernelTestBase::$runTestInSeparateProcess in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::runTestInSeparateProcess

Kernel tests are run in separate processes because they allow autoloading of code from extensions. Running the test in a separate process isolates this behavior from other tests. Subclasses should not override this property.

File

core/tests/Drupal/KernelTests/KernelTestBase.php, line 112

Class

KernelTestBase
Base class for functional integration tests.

Namespace

Drupal\KernelTests

Code

protected $runTestInSeparateProcess = TRUE;