Previous Article Next Article Intro To JavaScript Unit Testing With Mocha JS & Chai
Posted in JavaScript

Intro To JavaScript Unit Testing With Mocha JS & Chai

Intro To JavaScript Unit Testing With Mocha JS & Chai Posted on May 16, 201830 Comments



In this video I will show you how to setup the Mocha unit testing framework along with Chai which is an assertion library. I will also show you how to structure your files and create some simple tests

CODE: Code for this video
http://traversymedia.com/downloads/mochatest.zip

SPONSORS:
DevMountain Bootcamp – https://goo.gl/6q0dEa

EDUONIX COURSES: Please use affiliate links from website below
http://www.traversymedia.com/eduonix-courses

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:
http://www.paypal.me/traversymedia
http://www.patreon.com/traversymedia

FOLLOW TRAVERSY MEDIA:
http://www.facebook.com/traversymedia

http://www.linkedin.com/bradtraversy

30 comments

  1. Thanks for this Tutorial, I'm just starting to learn unit testing this way, and this helped a lot, exactly what I needed. You also explained it well and went through it thoroughly.

  2. Very useful video. IMHO, the code snippets can be copied and pasted so that the overall time of the video can be reduced. We can always pause the video and look at the code for longer time.

Leave a Reply

Your email address will not be published. Required fields are marked *