Open Source

Standards for Automated Testing

For lab 4 of DPS909, we were tasked with expand test suite,  tc39/test262, with the intention of familiarizing ourselves with reading and writing tests.

The first step was to download the test suite from GitHub and run all the tests, but I have hit an unforeseen error that I couldn’t solve.

error

Despite this error, I had to press forward in whatever way I could. I have studied the existing tests of Array.prototype.reverse and ArrayType.prototype.reverse, and found a potential addition to the suite. The idea behind this assertion is to see how push function affects reversed array. But due to the above mentioned error I couldn’t run it to see the result.

 

Leave a comment