A Beginners Guide to Testing Javascript using Mocha and Chai

preview_player
Показать описание
Hey coders,

In this video I cover the basics of setting up a in-browser mocha js test runner to cover a small module used to hold a list of numbers. I'll cover how to setup a basic test runner, the different constructs of mocha such as describe, it, before, beforeEach, etc, and walk you through testing a module that we write live.
Рекомендации по теме
Комментарии
Автор

I am from India... And you have explained mocha chai way better than all the other tutorials by Indian Authors .... Keep the good work up (y)

rimjhim
Автор

This video was extremely helpful, thanks a lot man

christianteller
Автор

wow... it was amazing... perfect video to understand testing. thank you so much😄

parasarora
Автор

Just a quick question, 4:00 why did you make your iterator variable a const? Because the iterator is going to change its value every time it proceeds to the new index. Const variables are supposed to not change

maverick
Автор

Hi Cody, Thanks the video is indeed and is of great help for beginners like me...but can explain how u were running test on local host.... what setting is required to do shall be highly greatfull

akashrastogi
Автор

Thanks man about to write a website for an assignment.

josiahtobas
Автор

hahaah nice little mistake there :D cool video, thanks :)

LeoHajder