ECMA Script Testing

For this lab we looked at the ECMAscript test suite.

Setting it up and making it run was fairly simple and I didn't encounter any issues.  I just followed the steps provided in

https://github.com/bterlson/test262-harness#test262-harness

While running the tests not all of them pass. I thought this might have been a Windows issue. Therefore I tried it on my Linux machine and majority of it worked except 6.


Then we looked at the test cases for Array.prototype.reverse().  For the task of this lab I simply just rewrote some new test cases to check the array.reverse.  This was fairly simple as looking at the other test cases it gave a general idea on how to write test cases for this.

The test case I wrote can be found here.
https://gist.github.com/pranoy10/10fd4bbf04a7490567d527017c8d52df

Comments

Popular posts from this blog

Assignment 1 - DPS909

Release 0.2 - Bug fix