YoVDO

Testing Node.js with Mocha

Offered By: Pluralsight

Tags

Node.Js Courses Unit Testing Courses Mocha Courses

Course Description

Overview

This course will teach you how to add unit tests to any Node.js application.

Unit tests make your code more reliable, but effectively using them in Node.js can be difficult. In this course, Testing Node.js 12 with Mocha 8, you’ll learn to write unit tests for your Node.js applications using Mocha. First, you’ll explore how to install and configure Mocha. Next, you’ll discover how to write basic tests using Mocha and Chai. Finally, you’ll learn how to test common scenarios in production code and apply best practices. When you’re finished with this course, you’ll have the skills and knowledge of unit testing with Node.js needed to write tests for any production application in Node..

Syllabus

  • Course Overview 1min
  • Introduction 11mins
  • Fundamentals of Mocha and Unit Testing 36mins
  • Chai and Hooks in Mocha 48mins
  • Effectively Testing Production Code 33mins
  • Advanced Testing Scenarios 25mins

Taught by

Joe Eames

Related Courses

A Practical Introduction to Test-Driven Development
LearnQuest via Coursera
Android App Development
Vanderbilt University via Coursera
Building Interactive User Interfaces Using React Library
NIIT StackRoute via Coursera
Основы разработки на C++: жёлтый пояс
Moscow Institute of Physics and Technology via Coursera
Learn Intermediate Python 3
Codecademy