From the course: Node.js: Testing and Code Quality
Cleaning your codebase
From the course: Node.js: Testing and Code Quality
Cleaning your codebase
- [John] Software engineers agree that good clean code is easiest to maintain, but what is quality code? Do you know it when you see it? In this course, we'll clean up a complete, but buggy, restaurant booking application. We'll start with fundamental testing and code quality concepts, explore how to use linters to look for suspicious code, compare expected program output with actual using unit testing, isolate your code for testing using test doubles, then verify with spies and mocks. Finally, generate reports on code health across your entire codebase. I'm John Peck and I've been building large-scale web applications for more than a decade. I'm passionate about writing code that can grow with your project. So, let's get started. Welcome to "Node.js: Testing and Code Quality."
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.