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

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: Mar 28, 2025
eventParserTestEventInputyes Long-TermThe event to parse and on which to test. See ParserTestEventInput.
outputAssertions[ParserTestCaseAssertionsForOutputInput]yes[ ]Long-TermAssertions 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.