mirror of https://github.com/tc39/test262.git
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. |
||
---|---|---|
docs | ||
harness | ||
src | ||
test | ||
tools | ||
website | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.hgignore | ||
.jshintrc | ||
.travis.yml | ||
CONTRIBUTING.md | ||
ECMA TR-104.pdf | ||
INTERPRETING.md | ||
LICENSE | ||
README.md | ||
excludelist.xml | ||
features.txt | ||
github-deploy-key.enc | ||
lint.whitelist | ||
make.py |
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
- Sign the Test262 CLA.
- 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:
- https://github.com/bterlson/test262-harness (platform: Node.js)
- https://github.com/test262-utils/test262-harness-py (platform: Python)
- https://bakkot.github.io/test262-web-runner/ (platform: web)