Official ECMAScript Conformance Test Suite
Go to file
Daniel Ehrenberg f9a0f05850 Additional tests for QuantifiableAssertion
- Tests that lookahead and lookbehind are not extended to
  QuantifiableAssertion, as in https://github.com/tc39/ecma262/pull/1102
- Additional tests verifying some more combinations of cases for
  QuantifiableAssertion being invalid in Unicode mode.

Based on the tests in https://chromium-review.googlesource.com/c/v8/v8/+/926102

These tests pass on V8 (if the throw for early errors is removed to
work around a V8 issue where RegExps don't have early errors).
2018-02-26 12:34:39 +01:00
docs Rename `String.prototype.contains` to `String.prototype.includes` 2014-12-10 13:27:42 -08:00
harness Add test cases for tc39/ecma402#194 2018-01-25 14:04:44 -05:00
src Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
test Additional tests for QuantifiableAssertion 2018-02-26 12:34:39 +01:00
tools [generation] Tolerate unicode in source files (#1411) 2018-02-09 11:27:33 -05:00
website Remove links to hg.ecmascript.org (non-license content) 2015-07-17 17:43:27 +02: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 Only apps should have lockfiles 2017-07-25 23:05:46 -07: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
.travis.yml Install linter dependencies in CI 2017-12-02 23:05:23 -05:00
CONTRIBUTING.md Rename negative test "phase" for module resolution 2018-01-05 15:17:51 -05:00
ECMA TR-104.pdf Update TR-104 with released version 2017-05-18 15:47:35 -04:00
INTERPRETING.md INTERPRETING.md: Make negative phase values easier to read 2018-01-10 15:20:22 -05:00
LICENSE New tests and test fixes for ECMAScript Internationalization API. 2013-03-24 23:48:59 -07:00
README.md Goals & State of Test262 2017-10-16 14:24:02 -04:00
excludelist.xml Fix packager.py for updated locations 2014-12-09 14:52:12 -08:00
features.txt features: [numeric-separator-literal] 2018-02-08 11:13:54 -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 Increment major version 2018-01-05 15:17:51 -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: