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

This datatype is used by the datatype, ParserTestCaseResult, which leads to more datatypes and ultimately the testParserV2() mutation field.

Table: ParserTestCaseResult

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Sep 27, 2024
outputEvents[OutputEvent]yes Long-TermThe 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 Long-TermAny 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.