ParserTestCase
is a
datatype for a test case for a parser.
Table: ParserTestCase
Parameter | Type | Required | Default | Stability | Description |
---|---|---|---|---|---|
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column. | |||||
Table last updated: Sep 27, 2024 | |||||
event | ParserTestEvent | yes | Long-Term | The event on which to parse and test. See ParserTestEvent . | |
outputAssertions | [ParserTestCaseAssertionsForOutput ] | yes | 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. See ParserTestCaseAssertionsForOutput . |