Test Node.js Backends

Test Node.js Backends

40 video lessons
2h 21m of learning material
Start Watching

Backends hold so much of our application's business logic that is often used to support multiple clients (web, mobile, and other native platforms). This logic is critical to get right and deploying a breaking change to this can be devastating to your company's goals (not to mention the bottom-line). Increasing your "deployment confidence" is crucial and automated testing is the best way to do that.

As Node.js continues to grow in usage around the world, learning how to test this mission-critical code in a way that increases developer velocity as well as confidence becomes increasingly important. In this workshop we use an Express.js example and focus on the patterns and practices that you need to learn so you can apply what you learn to test your code written in any Node.js web framework.

You'll learn:

  • Testing Pure Functions
  • Testing Middleware
  • Testing Controllers
  • Testing API routes
  • Mocking third party dependencies
  • Testing authenticated code

lessons