Official ECMAScript Conformance Test Suite
Go to file
⭐caitp⭐ 16ef6ad10d Get rid of the leading empty line in info block (#1993)
This makes v8's _monkeyYaml happy --- without it, the info block never ends, and we fail to parse the `features` key.

An explicit indentation marker isn't used because monkeyYaml doesn't supported it, and adding it might slightly slow things down.

Using PyYAML instead was considered, but after trying it, I don't think it looks viable. [simple test cases](https://gist.github.com/caitp/4a59a67f671907c11051a1b7bd5fdaae)
2018-12-15 05:40:37 -05:00
docs
harness Introduce $262.agent.safeBroadcast and migrate Atomics tests. 2018-11-20 15:17:47 -05:00
implementation-contributed Merge pull request #1992 from test262-automation/v8-test262-automation-export-d420adb9f2 2018-12-15 05:37:29 -05:00
src Fix various bugs in test cases (#1988) 2018-12-05 15:48:28 -05:00
test Get rid of the leading empty line in info block (#1993) 2018-12-15 05:40:37 -05:00
tools Merge pull request #1801 from mathiasbynens/issue-1634 2018-11-13 17:23:09 -05:00
website fix: comparing typeof expression 2018-05-31 23:27:46 +08:00
.editorconfig Unify indentation and add .editorconfig (#973) 2017-04-13 10:37:32 -04:00
.gitattributes
.gitignore Atomics: fix typo "throwes" => "throws" 2018-06-26 14:51:45 -04:00
.hgignore
.jshintrc
.npmrc Only apps should have lockfiles 2017-07-25 23:05:46 -07:00
.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 Add CoC.md reference file 2018-04-11 16:16:55 -04:00
CONTRIBUTING.md Update CONTRIBUTING.md per @bakkot’s feedback 2018-11-26 10:23:43 -05:00
ECMA TR-104.pdf Update TR-104 with released version 2017-05-18 15:47:35 -04:00
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 Unified Intl.NumberFormat: Add feature. 2018-11-28 10:25:18 -05:00
github-deploy-key.enc Update deploy keys 2017-04-24 15:11:02 -04:00
lint.whitelist Remove faulty `throw` statements 2017-07-13 12:27:29 -04:00
make.py Automate deployment (#546) 2017-04-10 15:31:19 -04:00
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: