Analyzing Test Case 3 Results
The output of the test case should look something like the following:
-
Assertion 3 is to validate that the filter “EventType” detects that this is a “Violation Event” and Assertion 4 is to validate that the inputs to the aggregate speed processor should be 1 event within the window. View the DriverAvSpeed component to validate these assertions:
-
Assertion 5 is to validate the result of the DriverAvgSpeed aggregate process is average speed of 79 since there only 1 event. View the isDriverSpeeding component:
-
Assertion 6 is to validate the isDriverSpeeding rule recognized it was not speeding since the speed wasn’t greater than 80. The event should stop. See the downstream components after isDriverSpeeding.