Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KernelTestBaseNG™ #2

Open
wants to merge 29 commits into
base: 8.0.x
Choose a base branch
from
Open

KernelTestBaseNG™ #2

wants to merge 29 commits into from

Conversation

sun
Copy link
Owner

@sun sun commented Aug 1, 2014

cf. https://www.drupal.org/node/2304461
Supersedes #1 (rebased, cleaned, against 8.0.x)

@sun sun mentioned this pull request Aug 1, 2014
sun added 29 commits August 6, 2014 21:35
Includes various performance optimizations, since ContainerBuilder::compile()
is very slow: A precompiled Container is shared across test methods.
Each test boots new DrupalKernel that gets the precompiled Container
injected.

Each test registers itself as a Logger, so as to catch unexpected error
log messages, in case functional code fails to use trigger_error().

Various utility methods of the former Simpletest TestBase + KernelTestBase
are made available as traits (so as to keep the original code functional).
- Fix process isolation infinitely blocks on Windows.
  sebastianbergmann/phpunit#1340
- Fix standard IO streams are not defined in process isolation.
  sebastianbergmann/phpunit#1348
- Fix isolated child process leaks into parent process.
  sebastianbergmann/phpunit#1351
… hooks: "Theme hook $entity_type_id not found.".
SQLite does not support advanced date/calendar operations (such as identifying 2000-01-01 as the 52nd week of 1999).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant