In this lab we were extending what we did in lab 7( and we implemented test cases for out 2 functions isValidEmail and formatSenecaEmail. We were given a handful of choices between which test case extension to use. I chose Jest which is an open source JavaScript tester made by Facebook. This lab was also very straight forward such as its predecessor. There were no technical difficulties implementing the tester, which seems to validate jest’s “Easy Setup”.

I have used unit testing in the past, but this was a long ago and it was for java. So the general advantages were apparent. To my memory using jest was much more simple than performing these unit tests with java.

I found the separation of test suites very useful using description() to help guide the programmer where tests are failing.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s