ParserTestCase is a datatype for a test case for a parser.

Table: ParserTestCase

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
eventParserTestEventyes The event on which to parse and test. See ParserTestEvent.
outputAssertions[ParserTestCaseAssertionsForOutput]yes Assertions on the shape of the test case output events. The list consists of key-value pairs to be treated as a map-construct, where the index of the output event is the key, and the assertions are the value. See ParserTestCaseAssertionsForOutput.