Skip to Main Content
Node.js for Beginners
book

Node.js for Beginners

by Ulises Gascón
May 2024
Beginner to intermediate content levelBeginner to intermediate
382 pages
7h 59m
English
Packt Publishing
Content preview from Node.js for Beginners

8

Testing in Node.js

Testing is one of the most relevant practices these days; it has become much more popular in the last couple of decades than in the past. Today, we build complex software with many dependencies and requirements that evolve over time. I strongly believe that testing is key when you are learning a new language or tool because it will provide you with a security net that will allow you to take more risks and move faster without breaking the previous code.

In this chapter, we will dive into the importance of testing and how to choose the right type of testing for your application. You will write your first test, and then we will learn about creating test suites by grouping related tests, demonstrating both Node.js core testing ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Node.js: Novice to Ninja

Node.js: Novice to Ninja

Craig Buckler
Node.js - The Complete Guide

Node.js - The Complete Guide

Academind by Maximilian Schwarzmüller GmbH
JavaScript from Beginner to Professional

JavaScript from Beginner to Professional

Rob Percival, Laurence Svekis, Maaike van Putten, Codestars By Rob Percival

Publisher Resources

ISBN: 9781803245171Supplemental Content