The ParserTestCaseInput is used to input a test case for a parser. It includes a couple of parameters.

Table: ParserTestCaseInput

ParameterTypeRequired[a]DefaultDescription
eventParserTestEventInputyes The event to parse and on which to test. See ParserTestEventInput Table.
outputAssertions[ParserTestCaseAssertionsForOutputInput]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 ParserTestCaseAssertionsForOutputInput Table.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.