Package io.karatelabs.junit6
Interface TestEvent
- All Known Implementing Classes:
TestEvent.FeatureEnd,TestEvent.FeatureStart,TestEvent.ScenarioEnd,TestEvent.SuiteEnd
public sealed interface TestEvent
permits TestEvent.FeatureStart, TestEvent.FeatureEnd, TestEvent.ScenarioEnd, TestEvent.SuiteEnd
Sealed hierarchy of test events for streaming dynamic test generation.
Uses Java 17+ sealed interfaces and records for type-safe, immutable event handling. Events flow from Karate execution thread to JUnit thread via a blocking queue.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordFired when a feature completes execution.static final recordFired when a feature starts execution.static final recordFired when a scenario completes execution.static final recordFired when the suite completes execution.