Official ECMAScript Conformance Test Suite
Go to file
Leo Balter 31e88a860a Add GitHub Workflow to mirror master and main branches 2020-07-13 14:09:05 -07:00
.circleci CI: clarify Tools->Jobs names; add build & lint to python 3 run 2020-05-13 10:59:05 -04:00
.github/workflows Add GitHub Workflow to mirror master and main branches 2020-07-13 14:09:05 -07:00
docs Rename `String.prototype.contains` to `String.prototype.includes` 2014-12-10 13:27:42 -08:00
harness Atomics: corrections 2020-06-24 12:26:41 -04:00
implementation-contributed [v8-test262-automation] Updated curation log with latest revision sha's from export and changed files. 2020-02-06 12:05:47 -05:00
src Case: use .then($DONE, $DONE) wherever possible 2020-06-24 15:47:48 -04:00
test remove 0 from the range and use undefined 2020-07-09 21:52:54 -04:00
tools Read existing generated files with correct encoding 2020-05-13 10:58:07 -04:00
.editorconfig Unify indentation and add .editorconfig (#973) 2017-04-13 10:37:32 -04:00
.gitattributes Import tests from Google V8 (templates) 2015-04-02 12:13:51 -04:00
.gitignore Atomics: fix typo "throwes" => "throws" 2018-06-26 14:51:45 -04:00
.hgignore Regenerated console runner files. Excluded generated test cases. 2012-08-26 20:47:30 -07:00
.jshintrc Added new tests for chapters 6 and 9 of ECMAScript Internationalization API Specification. 2012-08-26 20:49:25 -07:00
.npmrc Only apps should have lockfiles 2017-07-25 23:05:46 -07:00
CODE_OF_CONDUCT.md Add CoC.md reference file 2018-04-11 16:16:55 -04:00
CONTRIBUTING.md Call $DONE function exactly once per test 2019-07-22 02:12:24 -07:00
ECMA TR-104.pdf Update TR-104 with released version 2017-05-18 15:47:35 -04:00
INTERPRETING.md Adjust description for IsHTMLDDA to allow more than one argument (#2674) 2020-06-24 11:43:21 -07:00
LICENSE Whitespace cleanups. CRLF => LF 2019-10-08 20:44:09 -04:00
README.md README: where did website go? (#2677) 2020-06-24 13:46:56 -07:00
excludelist.xml Fix packager.py for updated locations 2014-12-09 14:52:12 -08:00
features.txt Atomics.waitAsync: add feature to features.txt 2020-04-23 10:32:55 -04:00
github-deploy-key.enc Update deploy keys 2017-04-24 15:11:02 -04:00
lint.exceptions Fix lint.exceptions, I hope? 2020-03-02 13:38:35 -05:00
make.py Make make.py python3 compatible 2020-05-13 10:58:07 -04:00
package.json Dependency: test262-harness@7.3.0 2020-03-23 14:11:49 -04: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 is interpreted by a test runner is in INTERPRETING

Test262 Runners & Harnesses

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, we've preserved it in a branch, available here.