Testing, Tooling & Deployment
Ship JavaScript with confidence: test behaviour, debug production issues, automate quality checks, and deploy with a repeatable pipeline.
Node.js, Express, async/await, and a working API project.
Test behaviour with node:test, debug with real tooling, automate lint/test/build checks, containerize the app, and deploy through CI with rollback awareness.
Read in order, or jump to what you need.
Every lesson builds on the one before it. Open any lesson to read the explanation, run the examples, and try the practice challenges.
- 17.01Unit Testing with node:test4 min
Write focused tests for pure and async JavaScript using Node's built-in test runner.
- 17.02Debugging, Profiling & Observability4 min
Find defects with breakpoints, read production signals, and measure performance before changing code.
- 17.03npm Scripts, Linting & Formatting4 min
Turn project commands into a stable interface and automate consistency with linting, formatting, and reproducible installs.
- 17.04CI/CD & Deployment4 min
Automate verification, build an immutable container, and release it with health checks and a rollback path.
- 17.05Project: Tested & Deployed APIProject4 min
Build a small JSON API, test its routes and validation, containerize it, and automate the release checks.
Ready to move on?
Take the Bookstore API through tests, CI, a Docker build, and a documented deployment verification.
Open the module self-check