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

This datatype is used by both Parser, which is used by several mutation and query fields, and by UnsavedParser, which is used by the generateParserFromTemplate() query field.

Table: ParserTestCase

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
eventParserTestEventyes Long-Term The event to parse and test on.
outputAssertionsParserTestCaseAssertionsForOutputyes Long-Term 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.