title |
---|
Conformance Tests |
This article details three github repositories for testing our parser against JavaScript and TypeScript grammar.
JavaScript has the ECMAScript Test Suite called Test262. The goal of Test262 is to provide test material that covers every observable behavior specified in the specification.
For testing conformance, please checkout its parse phase tests.
When new language features are added to JavaScript, it is required to have them get parsed by Babel. So Babel has another set of parser tests.
The TypeScript conformance tests can be found here.
Rome has implemented a test runner for the above test suites, they can be found here.