Official ECMAScript Conformance Test Suite
Go to file
test262-automation 7a0293f26c [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 344dd04163 on Thu Jan 17 2019 19:31:25 GMT+0000 (Coordinated Universal Time) 2019-01-17 19:35:14 +00:00
docs
harness Introduce $262.agent.safeBroadcast and migrate Atomics tests. 2018-11-20 15:17:47 -05:00
implementation-contributed [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 344dd04163 on Thu Jan 17 2019 19:31:25 GMT+0000 (Coordinated Universal Time) 2019-01-17 19:35:14 +00:00
src Space 2019-01-12 01:07:23 +01:00
test Merge pull request #2032 from nicolo-ribaudo/patch-2 2019-01-17 17:18:14 -02:00
tools rename whitelist to exceptions in the linter tool (#2004) 2018-12-18 15:39:57 -02:00
website
.editorconfig
.gitattributes
.gitignore Atomics: fix typo "throwes" => "throws" 2018-06-26 14:51:45 -04:00
.hgignore
.jshintrc
.npmrc
.travis.yml Use travis ci to run new or modified test files on engines 2018-11-07 10:03:00 -05:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md rename whitelist to exceptions in the linter tool (#2004) 2018-12-18 15:39:57 -02:00
ECMA TR-104.pdf
INTERPRETING.md Introduce $262.agent.safeBroadcast and migrate Atomics tests. 2018-11-20 15:17:47 -05:00
LICENSE
README.md Added URL for C++ test harness. (#1615) 2018-06-29 14:59:45 -04:00
excludelist.xml
features.txt Update features.txt status (#2022) 2019-01-17 17:08:11 -02:00
github-deploy-key.enc
lint.exceptions rename whitelist to exceptions in the linter tool (#2004) 2018-12-18 15:39:57 -02:00
make.py
package.json Use travis ci to run new or modified test files on engines 2018-11-07 10:03:00 -05: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: