Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Latest commit

 

History

History
27 lines (16 loc) · 1.03 KB

conformance.md

File metadata and controls

27 lines (16 loc) · 1.03 KB
title
Conformance Tests

This article details three github repositories for testing our parser against JavaScript and TypeScript grammar.

Test262

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.

Babel

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.

TypeScript

The TypeScript conformance tests can be found here.

Test Runner

Rome has implemented a test runner for the above test suites, they can be found here.