Skip to main content

Module test

Module test 

Source

Structs§

DiffKey
TestAttributes
TestDiff
TestFailure
TestOptions
TestResult
TestResultHierarchy
TestResultIterWithDepth
TestSummary
A stateful object used to collect results from running a grammar’s test suite

Enums§

TestEntry
TestExpectation
TestInfo
TestOutcome
TestStats

Functions§

adjusted_parse_rate
check_queries_at_path
parse_tests
run_tests_at_path
strip_points
Remove [row, col] point annotations from sexp strings, including surrounding whitespace. Matches the pattern: \s* [ \s* digits \s* , \s* digits \s* ] \s*
strip_sexp_fields
Replace word: ( with ( throughout the string. Intended to operate on to_sexp() output where elements are separated by single spaces.