Add kernel tests for event system

Created on 5 August 2023, over 1 year ago
Updated 29 October 2023, about 1 year ago

Problem/Motivation

Currently we have:

  • A unit test ContainerAwareEventDispatcherTest which tests the ContainerAwareEventDispatcher class itself.
    This does not cover the ways in which events can be registered by modules.
  • Various kernel or functional tests that implicitly cover the event dispatcher system.

We do not have a kernel test to directly cover the event dispatching system.
This means we currently only cover the ways in which core modules register events.

Problems:

  • If all the core event subscribers use a new way of registering their events, then we lose that coverage for legacy methods to register events.
  • Coverage is only indirect, so it will be hard to debug failures.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Base 

Last updated about 19 hours ago

Created by

🇩🇪Germany donquixote

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

Comments & Activities

Production build 0.71.5 2024