Loading... Loading...

ECMAScript Language test262 ECMAScript.org

What is test262?

test262 is a test suite intended to check agreement between JavaScript implementations and ECMA-262, the ECMAScript Language Specification (currently 5.1 Edition). The test suite contains thousands of individual tests, each of which tests some specific requirements of the ECMAScript Language Specification.

What is ECMAScript?

"ECMAScript" is the name under which the language more commonly known as "JavaScript" is standardized. Development of the ECMAScript standard is the responsibility of Technical Committee 39 (TC39) of Ecma International. The ECMAScript Language Specification standard is officially known as ECMA-262. ECMAScript 5.1 (or just ES5.1) is short hand for the "ECMA-262, 5.1 Edition ECMAScript Language Specification" the official name of the current edition of the standard. ECMAScript 5.1 was approved as an official Ecma standard by the Ecma General Assembly in June 2011. The ECMAScript 5.1 standard is available in PDF and HTML versions from the Ecma International web site.

Who creates and maintains test262?

Development of test262 is a project of Ecma TC39. The testing framework and individual tests are created by member organizations of TC39 and contributed to Ecma for use in test262. For more information about how test262 is developed and maintained click the “Development” tab at the top of this page.

What is the status of test262?

test262 is not yet complete. It is still undergoing active development. Some portions of the ES5 specification have very complete test coverage while other portions of the specification have only partial test coverage. Some tests may be invalid or may yield false positive or false negative results. A perfect passing score on test262 does not guarantee that a JavaScript implementation perfectly supports ES5. Because tests are being actively added and modified, tests results from different days or times may not be directly comparable. Click the “Development” tab at the top of this page for instructions for reporting test262 bugs.

Where can I find out more?

Please visit our Frequently Asked Questions section on the ECMAScript Wiki.

Running the Tests

Click the “Run” tab at the top of this page for instructions and follow the instructions to run the tests.

Development

Test262 is being developed by the members of Ecma TC39. Ecma's intellectual property policies permit only Ecma members to directly contribute code to the project. However, a public mailing list is used to coordinate development of test262. If you wish to participate in the discussion please subscribe. Bug reports and suggestions should be sent to the mailing list.

Ecma members can find detailed instructions on Test262 development procedures at the Test262 Wiki.

Please click on the Run All button to run all the tests. Once you start the test you may pause the test anytime by clicking on the Pause button. You can click on the Results tab once the test is completed or after pausing the test. The Reset button is for restarting the test run. You may run individual tests by clicking the Run button next to the tests listed below. If you wish to run several chapters in sequence, but not the entire test suite, click the Select button for the chapters you wish to run and then click the Run Selected button.

Run All Run Selected Tests Pause Resume Reset

Timer Value(ms) :

Tests To run:  | Total tests ran: | Pass: | Fail: | Failed to load:

Test suite version:  | Test suite date:
Total tests:
Passed: | Failed: | Failed to load:
Test results will be displayed after the tests are executed using the Run page.
Test suite version.:  | Test suite date:
 100%   75% to 99.9%   50% to 75%    less than 50%