Unit Testing and Test Driven Development in NodeJS
Learning the discipline of Test Driven Development (also known as TDD) in NodeJS with Javascript.
IT & Software,Other IT & Software,Unit Testing
Lectures -33
Duration -1.5 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
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.
Goals
- Learn 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.
Prerequisites
- Introductory understanding of Javascript and NodeJS
- A PC running Windows, MacOS X, or Linux
- NodeJS installed on the PC
- Your preferred IDE or code editor installed
![Unit Testing and Test Driven Development in NodeJS Unit Testing and Test Driven Development in NodeJS](https://d3mxt5v3yxgcsr.cloudfront.net/courses/3192/course_3192_image.jpg)
Curriculum
Check out the detailed breakdown of what’s inside the course
Introduction
1 Lectures
-
Introduction 02:22 02:22
Overview and Setting Up Your Development Environment
9 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Exploring Mocha and Chai with Examples
6 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Hands-On Example - Implementing a Checkout Cart with TDD
7 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Isolating Your Unit Tests
5 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Best Practices for Unit Testing and TDD
3 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Conclusion
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Richard Wells](https://www.tutorialspoint.com/assets/profiles/217499/profile/200_275728-1625468700.jpg)
Richard Wells
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)