Testing JavaScript for Node.js with Mocha
Mocha is one of the most popular and robust testing frameworks for JavaScript. In this course, you’ll be introduced to Mocha and learn how to build a robust test suite against your node.js applications.
Building good and comprehensive tests for your JavaScript applications helps enable stable and robust applications. Good tests also serve as valuable documentation for what your applications are actually supposed to be doing. In this course, Testing JavaScript for Node.js with Mocha, you’ll dive deep into Mocha, one of the most popular and robust testing frameworks for JavaScript. First, you’ll start by learning the ins and outs of testing with Mocha. Next, you’ll explore how to implement a BDD style of assertion language with Chai. Finally, you’ll cover the right way to mock objects and functions with Sinon, and you’ll develop an understanding of how to track your code coverage with Istanbul. By the end of this course, you’ll be able to build a robust test suite against your node.js applications.
Author Name: Jonathan Mills
Author Description:
Jonathan is a Pluralsight Author, Technology Advisor, and Business Leader. As a member of the Chief Digital Advisory team at World Wide Technology, Jonathan is able to leverage his unique experiences and skills to drive digital transformation for his clients. As a dedicated developer community leader, Jonathan serves on the board of directors for the Kansas City Developers Conference, is a Microsoft MVP, and is a regular speaker and keynote presenter at conferences around the globe.
Table of Contents
- Course Overview
1min - Testing Your JavaScript
14mins - Testing with Mocha
35mins - BDD Style Assertions
19mins - Spys, Stubs, and Mocks
27mins - Testing Real Things
49mins
There are no reviews yet.