protected function KernelTestBase::isTestInIsolation in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/KernelTests/KernelTestBase.php \Drupal\KernelTests\KernelTestBase::isTestInIsolation()
Returns whether the current test runs in isolation.
Return value
bool
See also
https://github.com/sebastianbergmann/phpunit/pull/1350
1 call to KernelTestBase::isTestInIsolation()
- KernelTestBase::bootKernel in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - Bootstraps a kernel for a test.
File
- core/
tests/ Drupal/ KernelTests/ KernelTestBase.php, line 1052 - Contains \Drupal\KernelTests\KernelTestBase.
Class
- KernelTestBase
- Base class for functional integration tests.
Namespace
Drupal\KernelTestsCode
protected function isTestInIsolation() {
return function_exists('__phpunit_run_isolated_test');
}