OSD600 Lab 4 – Lucas Verbeke

In this lab we were inrtroduced to JavaScript testing with ECMAScript and were tasked with getting a better understanding of how tests work and the general idea of open standards.

first off we need to clone and run test262.

Once I did that I noticed that I had 4 failed and 201 passed tests but after consulting with other students I found out that that is common occurrence.

next it was time to try to improve the array reverse test and the way to do that was to replace the if (reverse !== x) with assert.sameValue thus simplifying it.

This lab has helped me get a better understanding of tests and open standards something which I had no knowledge of before hand.

Leave a comment