Skip to content

Latest commit

 

History

History
43 lines (31 loc) · 1.36 KB

File metadata and controls

43 lines (31 loc) · 1.36 KB

Testing

What The Test Suite Covers

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

Why These Tests Matter

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

Expected Coverage Areas

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: