Course Highlights
  • Students will be well versed in how to unit test applications, they will be ahead of most other developers in that regard.
Skills you will learn!
Curriculum

3 Topics
Introduction
Who is this course for?
Suggestions on how to study

7 Topics
Introduction to Mocha & Assert
Before & Afters
Multiple Contexts
Introduction to Chai
Chai Basics
CLI & Test Commands
Environmental Variables & Cross-Env

12 Topics
Course Files
Standard Functions
Callback Functions
Promises 1
Promises 2
Chai Addons & More Promises
Test Doubles & Sinon
Spies
Code Isolation
Stubs
Private Code & Rewire
Important Reminder

17 Topics
Depreciation Note
Users.get() - Part 1
Users.get() - Part 2
Users.delete()
Users.create()
Users.update()
Users.resetPassword()
Mailer.js
Utils.js
Routes - Part 1
Routes - Part 2
Routes - Part 3
The User Model
Order Class - Part 1
Order Class - Part 2
Order Class - Part 3
Order Class - Part 4

3 Topics
Test Coverage with Istanbul / NYC
Test Coverage Warning
Recursive Warning

3 Topics
Test-Driven Development
Mocking Require Statements
Creating a run config in VS code and updating the app to run

1 Topic
Final Thoughts

  Write a Review

Node.js Unit Testing In-Depth

Go to Paid Course