Add kernel tests for event system

Created on 5 August 2023, 11 months ago
Updated 29 October 2023, 8 months 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 1 minute 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.69.0 2024