ECMAScript Test Suite - create reverse tests

During last week of study on open source standards of web, I learned that JavaScript is implemented all based on ECMAScript specification. The latest standards in ES2017 however most of the major browsers only support ES2015 so for and partial of the later standards. More information about JavaScript and ECMAScript can be found wiki and github/test262.

Then, I wrote the test cases about array reverse, the code can be found on gist:

In order to execute the test case, we need to install test262-Harness:

Then, run the command and pass the js file:

It will return the result of the test cases.

Comments

Popular posts from this blog

Contributing for the open-souce projects to classmates

Analyzing bugs for vscode on Github