Node.js Unit Testing In-Depth
4.5 (174 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
15,077 students enrolled

Node.js Unit Testing In-Depth

​A focused, in-depth look into Node.js unit testing, from absolute beginner to very advanced.
4.5 (174 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
15,077 students enrolled
Created by Murtez Alrohani
Last updated 2/2019
English
English [Auto-generated]
Current price: Free Original price: $89.99 Discount: 100% off
30-Day Money-Back Guarantee
This course includes
  • 2.5 hours on-demand video
  • 3 articles
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Students will be well versed in how to unit test applications, they will be ahead of most other developers in that regard.
Course content
Expand all 44 lectures 02:17:49
+ Basics of Testing
12 lectures 22:08

Hi All,

These are the files used in the course, they have the project files AND test files, I suggest you delete / move test files somewhere for the moment while you go through the course and write your own tests along, only use them if you are stuck.

Course Files
00:12
Standard Functions
01:21
Callback Functions
01:51
Promises 1
02:39
Promises 2
00:51
Chai Addons & More Promises
03:28
Test Doubles & Sinon
00:42
Spies
03:03
Code Isolation
01:09
Stubs
02:29
Private Code & Rewire
04:07
Important Reminder
00:16
+ Testing The App
17 lectures 01:07:27
Depreciation Note
00:05
Users.get() - Part 1
06:54
Users.get() - Part 2
01:43
Users.delete()
04:21
Users.create()
07:26
Users.update()
02:44
Users.resetPassword()
02:03
Mailer.js
06:39
Utils.js
07:01
Routes - Part 1
07:38
Routes - Part 2
04:22
Routes - Part 3
03:48
The User Model
02:50
Order Class - Part 1
04:55
Order Class - Part 2
02:15
Order Class - Part 3
01:48
Order Class - Part 4
00:55
+ Test Coverage & Warnings
3 lectures 07:44
Test Coverage with Istanbul / NYC
02:17
Test Coverage Warning
03:20
Recursive Warning
02:07
+ Bonus
1 lecture 10:52
Test-Driven Development
10:52
Requirements
  • Basic knowledge of node is required.
Description

This is a focused, in-depth course about unit testing, where we will look at lots of code, and learn how to test it. We will go through everything from the simplest JavaScript function to ES6 classes & private code testing. We will also learn how to test your code coverage, so you always know where you stand.

One of the goals of this course is to teach you how to think about unit testing, and not simply teach you the basic syntax or how to call an assertion.

We will go through most scenarios you will run into day to day, as well as address a number of issues and examples ignored by most unit testing courses available online.

You should have some node experience, you don't need to be an expert, but you should at least know the basics.

I am always looking to improve the course, please send me any feedback you may have directly!

Please go ahead and add me on LinkedIn, I love to connect with my students (I also love endorsements :D)

Who this course is for:
  • All nodejs developers, or devs who wish to learn more about unit testing using node.