Official ECMAScript Conformance Test Suite
Go to file
Mike Pennisi 53842533b7 Enforce use of `throw` stmt in early error tests
Previously, test consumers were encouraged to insert a `throw` statement
as the first statement of tests for early errors. This recommendation
made tests harder to consume, and as an optional transformation,
consumers may have ignored it or simply been unaware it was made. By
explicitly including such a `throw` statement, the tests become more
literal, making them easier to consume and more transparent in their
expectations.

Document expectation for all tests for early errors to include an
explicit `throw` statement. Extend linting script to verify that
contributors are automatically notified of violations and to ensure that
future contributions satisfy this expectation.
2017-06-28 11:24:36 -04:00
docs Rename `String.prototype.contains` to `String.prototype.includes` 2014-12-10 13:27:42 -08:00
harness Update verifyProperty to allow checking `value` 2017-06-23 11:58:16 -04:00
src Force "early error" tests to fail if evaluated 2017-06-28 11:24:36 -04:00
test Re-generate tests 2017-06-28 11:24:36 -04:00
tools Enforce use of `throw` stmt in early error tests 2017-06-28 11:24:36 -04: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 Automate deployment (#546) 2017-04-10 15:31:19 -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
.travis.yml Introduce automated validation for test format (#994) 2017-05-01 12:04:05 -04:00
CONTRIBUTING.md Enforce use of `throw` stmt in early error tests 2017-06-28 11:24:36 -04:00
ECMA TR-104.pdf Update TR-104 with released version 2017-05-18 15:47:35 -04:00
INTERPRETING.md Enforce use of `throw` stmt in early error tests 2017-06-28 11:24:36 -04:00
LICENSE New tests and test fixes for ECMAScript Internationalization API. 2013-03-24 23:48:59 -07:00
README.md Add link in the README file 2017-05-18 15:53:41 -04:00
excludelist.xml Fix packager.py for updated locations 2014-12-09 14:52:12 -08:00
features.txt Lint test `features` tag (#1060) 2017-06-12 18:59:14 -03:00
github-deploy-key.enc Update deploy keys 2017-04-24 15:11:02 -04:00
lint.whitelist Update lint "whitelist" file and document usage (#1048) 2017-05-22 11:53:20 -04:00
make.py Automate deployment (#546) 2017-04-10 15:31:19 -04:00

README.md

Test262 is the official ECMAScript (ECMA-262) conformance suite.

Test262 tests conformance to the continually maintained draft future ECMAScript standard found at http://tc39.github.io/ecma262/ , together with any Stage 3 or later TC39 proposals. It is maintained by Tom Care (@tcare) and Leo Balter (@leobalter) with significant contributions from many in the ECMAScript community.

This project is also described by the Ecma Technical Report 104.

Contributing to Test262

See CONTRIBUTING.md

  1. Sign the Test262 CLA.
  2. Send a pull request. Please make sure you have one commit per pull request. If you have multiple commits, squash them before sending the pull request.

Running Test262

See INTERPRETING.md

There are a number of volunteer-maintained projects that may be used to execute Test262 in various ECMAScript hosts: