Official ECMAScript Conformance Test Suite
Go to file
Philip Chimento 7fc86bca6a Migrate linter workflow to GitHub Actions
This runs faster and allows for future improvements.

I'm following a general principle of keeping code that isn't portable
between CI providers inside the config file for the CI provider. So in
this case we remove the Circle-CI-specific stuff from the file in
tools/scripts/, and into .github/workflows/. We use an external action
(tj-actions/changed-files) to gather the list of files to lint.
2024-11-11 16:48:38 -08:00
.circleci Migrate linter workflow to GitHub Actions 2024-11-11 16:48:38 -08:00
.github/workflows Migrate linter workflow to GitHub Actions 2024-11-11 16:48:38 -08:00
docs Correct typos 2023-02-15 09:04:26 -08:00
harness Disable grouping for numeric units in Intl.DurationFormat 2024-11-07 14:19:18 -08:00
rfcs Replace reference to import-assertions in rfcs/async-helpers.md 2024-08-22 12:19:08 -07:00
src [source-phase-imports] update missing source error type 2024-10-25 11:37:04 +02:00
test Temporal: Fix name of constructor 2024-11-08 11:18:43 +01:00
tools Migrate linter workflow to GitHub Actions 2024-11-11 16:48:38 -08:00
.editorconfig Update indentation in editorconfig 2024-11-11 16:48:38 -08:00
.gitattributes
.gitignore Atomics: fix typo "throwes" => "throws" 2018-06-26 14:51:45 -04:00
.npmrc Only apps should have lockfiles 2017-07-25 23:05:46 -07:00
CODEOWNERS Allow @tc39-staging to modify features.txt 2023-10-12 10:03:23 +02:00
CODE_OF_CONDUCT.md Add CoC.md reference file 2018-04-11 16:16:55 -04:00
CONTRIBUTING.md CONTRIBUTING.md: Improve asyncHelpers documentation 2024-08-01 11:38:06 -04:00
ECMA TR-104.pdf Update TR-104 with released version 2017-05-18 15:47:35 -04:00
INTERPRETING.md Update INTERPRETING.md fixing `$262.AbstractModuleSource` position 2024-08-13 11:25:59 -07:00
LICENSE Update LICENSE (#4107) 2024-07-24 09:36:44 -07:00
README.md Fixed website section in README (#3981) 2024-01-09 10:48:12 +01:00
excludelist.xml
features.txt add missing Error.isError feature flag 2024-10-17 10:57:45 -07:00
github-deploy-key.enc
lint.exceptions Fix lint.exceptions, I hope? 2020-03-02 13:38:35 -05:00
make.py Remove obsolete deploy scripts 2024-11-11 16:48:38 -08:00
package.json Bump esvu version 2022-12-01 15:16:40 +01:00

README.md

Test262: ECMAScript Test Suite (ECMA TR/104)

Test262 is the implementation conformance test suite for the latest drafts (or most recent published edition) of the following Ecma specifications:

Test262 itself is described in ECMA TR/104 and is included in ECMA-414 (pdf).

Goals & State of Test262

The goal of Test262 is to provide test material that covers every observable behavior specified in the ECMA-414 Standards Suite. Development of Test262 is an on-going process. As of October 2017, Test262 consisted of over 29272 individual test files covering the majority of the pseudo-code algorithms and grammar productions defined in the ECMA-414 Standards Suite. Each of these files contains one or more distinct test cases. This marks the most comprehensive ECMAScript test suite to date. While test coverage is broad, TC39 does not consider coverage to be complete and as with any software project there exists the possibility of omissions and errors. This project welcomes any contributions to Test262 that help make test coverage of existing features more comprehensive.

ECMAScript feature proposals

As defined in the TC39 Process, Stage 4 Entrance Criteria requires tests for new feature proposals to advance. Tests may be written by proposal champions, implementers, or any interested community member.

A proposal champion is someone that worked on the feature proposal and specification directly.

An implementer is someone that works on implementing the proposal into a JavaScript engine, parser, runtime or embedding.

A community member is you, and we welcome you to contribute! If you're having trouble getting started, or even just want to ask a question, feel free to open an issue.

Contributing to Test262

Guidance for contributing to Test262 can be found in CONTRIBUTING.md.

Authors of contributions from non-Ecma member organizations must sign the Test262 CLA

Running Test262

Guidance for running Test262 and explanations of how a test file must be interpreted by a test runner is in INTERPRETING

Rationale

This project offers an explanation for many of its design decisions and maintenance practices--see rationale.md.

Test262 Runners

Volunteer-maintained projects that may be used to execute Test262 in various ECMAScript hosts:

How To Read CI Results

Test262 runs CI tests against every PR and commit. The only tests that are required to pass are visibly flagged as REQUIRED. The CI test results that are attributed to specific runs against specific engines should not be perceived as meaningful to anyone but the person that is reviewing the test material contained within the contributed changeset. These tests are almost always expected to fail, especially in the case of tests for new features. They may be helpful in determining whether or not a regression occurred, but that can only be determined by an actual human reviewing the results and comparing those outcomes to the expected outcomes of the tests.

Where did website/ go?

It's been removed. If you need to access the code that contained in that directory, you can find it here.