Great applications not only look good and perform well, they also have few bugs. In the process of developing and deploying an application, it is just as critical to write test scenarios as it is to write attractive and amazing code. In this video tutorial, we see how to use the Jasmine testing framework to write unit tests that test not only various Node.js functions but also API endpoints that were created using Express.

With well-designed unit tests, we can simulate how the user interacts with our APIs and stop potentially catastrophic bugs before they even reach the user. Among other things, we will create test groups for each API endpoint and test for expected status codes and responses.