ParserTestCaseResult is a datatype for the output for parsing and verifying a test case.

Table: ParserTestCaseResult

ParameterTypeRequiredDefaultDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Sep 27, 2024
outputEvents[OutputEvent]yes The events produced by the parser. Contains zero to many events, as a parser can both drop events, or produce multiple output events from a single input. See OutputEvent.
outputFailures[ParserTestCaseFailuresForOutput]yes Any failures produced during testing. If the list is empty, the test case can be considered to have passed. If the list contains elements, they are key-value pairs to be treated as a map-construct, where the index of the output event is the key, and the failures are the value. See ParserTestCaseFailuresForOutput.