Unit Testing and Test Driven Development in NodeJS
Learning the discipline of Test Driven Development (also known as TDD) in NodeJS with Javascript.
Development ,Software Testing,Web Testing
Lectures -33
Duration -1.5 hours
Lifetime Access
Lifetime Access
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.
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 set up 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.
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
Exploring Mocha and Chai with Examples
6 Lectures
Hands-On Example - Implementing a Checkout Cart with TDD
7 Lectures
Isolating Your Unit Tests
5 Lectures
Best Practices for Unit Testing and TDD
3 Lectures
Conclusion
1 Lectures
Instructor Details
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.
Course Certificate
Use your certificate to make a career change or to advance in your current career.
Our students work
with the Best
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 nowOnline Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now