Unit Testing and Test Driven Development in NodeJS (Udemy.com)
Learning the discipline of Test Driven Development (also known as TDD) in NodeJS with Javascript.
Created by: Richard Wells
Last updated February 2019
What you will learn
- Students will know what unit tests are and how to create them using the practice of Test Driven Development.
How it compares
Against the other 281 rated Udemy courses in Software Testing on CourseDuck:
- Rating4.5 out of 5higher than 51% of them
- Reviews1,370#105 of 282 by number of reviews
- Length1.8 hoursshorter than 88% of them
- Last updatedFebruary 2019earlier than 88% of them
Course Description
Test Driven Development is a key discipline every software developer should practice to ensure the quality of their code. In this course I'll show you how to use this discipline in your everyday coding practices to help ensure the quality of your code base.
In this course we’ll be going over:
What is Unit Testing and Test Driven Development and how does it help you.
What are the Mocha and Chai testing libraries and how are they used for writing unit tests in NodeJS.
How to setup some common NodeJS development environments to use Mocha and Chai.
What are Test Doubles and how do you implement and use them with Sinon.
What are some Best Practices for unit testing and Test Driven Development.
We’ll also walk through some hands on example programming sessions using TDD in NodeJS.
Instructor Details
- 4.5 Rating
1,370 Reviews
Richard Wells
I'm a software engineer with over twenty years of experience. I've worked professionally writing code in Assembly, C, C++, Java, C#, Javascript and Python and I am knowledgeable with the entire software development life cycle. I've written system requirements, software requirements, use cases, and user stories. I'm an avid practicer of Agile, Scrum, and Extreme Programming disciplines. I'm passionate about the process of writing quality software fast.
More courses by Richard Wells
Unit Testing and Test Driven Development in Python (2019)
4.4 (5,304 Reviews)
Provider: Udemy
Time: 2h
$49.99
Beginning Test Driven Development in C++ (2018)
4.1 (1,063 Reviews)
Provider: Udemy
Time: 2.4h
$54.99
More Software Testing courses
ZeroToHero TestNG Framework - From Basics to Advanced (2026)
4.9 (828 Reviews)
Provider: Udemy
Time: 6.2h
$59.99
Selenium WebDriver with Java- Basics to Advanced + Framework (2026)
4.9 (620 Reviews)
Provider: Udemy
Time: 35.5h
$84.99
Karate DSL: API Automation and Performance from Zero to Hero (2026)
4.8 (4,652 Reviews)
Provider: Udemy
Time: 7.2h
$10.99
API Testing in detail using Postman - Test Automation (2026)
4.8 (423 Reviews)
Provider: Udemy
Time: 7.8h
$10.99
Quick Introduction to Postman and API Testing for Beginners (2025)
4.7 (23,113 Reviews)
Provider: Udemy
Time: 3.2h
$13.99
Software Testing Masterclass (2026) - From Novice to Expert
4.7 (12,622 Reviews)
Provider: Udemy
Time: 9.9h
$149.99
Reviews
By Anonymized User on 12/26/2024
Thank you for introducing some terminology from TDD. It is not only useful for JS development but also for understanding the concept.
By Tiffany Sonny on 6/6/2021
Great education - easy to follow and up to the bleeding edge. But, the video was very poor at times. Without code sample provided as resources sometimes it was hard to make out the desired syntax of the hands on sections.
By Brian Battell on 10/19/2020
This is a good course for complete beginners in TDD. It gives a couple of good example and best practices. If you have intermediate knowledge of TDD or if you practice TDD and you want to get better I would look for a more advanced course in TDD.
By Anonymized User on 6/23/2020
It is great because I am dealing with production code and tests on a daily basis, and it seems like a great methodology to follow and avoid having parts of the code untested
By Anonymized User on 6/22/2020
Great first overview of Test Driven Development for beginners! If you are familiar with testing strategies, I would recommend you look at a more advanced course in testing as this focuses on the very basic ideas of red-green phased coding, and testing doubles. The examples are simple and straight to the point.
By Sarawhkai on 5/18/2020
"It clearly and easy to understand for a newbie to TDD. The presentation gives the clear concepts and also brings the good hand-on exercises to learn. Also clearly introducing and elaborating usage of 3 useful tools for testing in NodeJS project: Mocha, Chai and Sinon. Beside that, it also makes listener excited to approach TDD." - htam
By Anonymized User on 7/17/2019
Really good course for getting started understanding TDD, I would only suggest that you where a little more clear when installing packages and setting the tests commands in package.json for those who might get a little lost. Me personally I had to do things like setting my run scripts, specially in the istambul/nyc lecture in which people who might not be using webstorm might find themselves a little lost when trying to run the code coverage test
By Claudio Battaglino on 2/3/2019
This course is very interesting and I think is a good introduction to the use of unit tests developing with Javascript. It is a bit too basic, but I think that is an important step for people who want to start learning about TDD programming. Interesting the slides and the example about the test coverage. Thank you.
By Jonathan Hartley on 10/8/2018
This is what a Udemy course should be: Short and to the point, but still complete and thorough with lots of great links and references for continued learning.
By Francois on 9/23/2018
The instructor speaks clearly and provides good explanations on the concept of TDD/BDD in general. Unfortunately I could not give this course a full score as there is a duplicate video in section 4 , there are also many silent moments when he inputs his code, this course assumes you know how to program so there's not a whole lot he could talk about but I thought it was a little confusing sometimes. Overall it's a good course taught by someone who seems to have a decent handle of the language, he could improve in some aspects but I did not watch this course to learn javascript so I can't complain too much.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 90 / 100









