Make hook testing with kernel tests very simple

Created on 27 January 2025, 2 days ago

Problem/Motivation

Now that we have an OO hook test maybe we can make hook testing with kernel tests something really simple and allow kernel tests define hooks and discover and register then in a similar way to \Drupal\Core\Hook\HookCollectorPass.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

None

Introduced terminology

N/a

API changes

Test API maybe? Hopefully not.

Data model changes

None

Release notes snippet

TBD

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

phpunit

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024