ParserTestRunInput is used to input data for a parser test run.

Table: ParserTestRunInput

ParameterTypeRequiredDefaultDescription
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 19, 2024
fieldsToBeRemovedBeforeParsing[string]yes A list of fields that will be removed from the event before it's parsed. These fields will not be included when calculating usage.
fieldsToTag[string]yes The fields that are used as tags.
languageVersionLanguageVersionInputTypeyes A specific language version. See LanguageVersionInputType.
parserNamestringyes The name of the parser. This is part of the test output in the `#type` field in each parsed event.
repositoryNameRepoOrViewNameyes The name of the repository in which the parser is located. This is part of the test output in the `#repo` field in each parsed event. The RepoOrViewName is a scalar.
scriptstringyes The parser script that is executed for every incoming event.
testCases[ParserTestCaseInput]yes The test cases to run the parsing script against. See ParserTestCaseInput.