ParserTestCaseOutputAssertions is a datatype for assertions on the shape of a given test case output event.

This datatype is used by ParserTestCaseAssertionsForOutput, which is in turn used by ParserTestCase — which is used by both UnsavedParser and Parser.

Table: ParserTestCaseOutputAssertions

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
fieldsHaveValuesFieldHasValueyes Long-Term Names of fields and their expected value on the output event. These are key-value pairs, and should be treated as a map-construct.
fieldsNotPresentStringyes Long-Term Names of fields which should not be present on the output event.