ParserTestCaseInput is is an input datatype for providing a test case for testing a parser.

This datatype is used by three other input datatypes: CreateParserInputV2, which is used by the createParserV2() mutation field; and ParserTestRunInput, which is used by the testParserV2() mutation; and UpdateParserInputV2, which is used by the updateParserV2() mutation.

Table: ParserTestCaseInput

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
eventParserTestEventInputyes   The event to parse and test on.
outputAssertionsParserTestCaseAssertionsForOutputInputyes   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.