The current test suite verifies the package guarantees that matter architecturally:
- event family validation for valid kernel and process events
- rejection of invalid event definitions
- registry segregation between kernel and process events
- duplicate registration failure
- registry lock enforcement
- additive-only signaling on the process registry
- loading of discovered classes into the correct registry
- rejection of invalid loader input
- deterministic dispatch order by priority and registration sequence
- propagation stopping
- wiring produced by
EventInfrastructureFactory
This package is mostly about boundaries and guarantees. The tests do not just check implementation details; they enforce the architectural rules that keep the library focused on event infrastructure only.
That is especially important for:
- family enforcement
- deterministic dispatch
- additive-only registry behavior
- explicit failure modes
Future changes should preserve coverage around:
- contract hierarchy changes
- validator behavior for discovered metadata and reflected classes
- loader-to-registry routing
- lock timing exercised by callers
- listener ordering and propagation semantics
Related: