Introduction
Create comprehensive end-to-end tests with Jest
()
Prerequisites and learning objectives
()
Exercise files
()
1. End-to-End Test: Basics
Introduction to test-driven development (TDD)
()
Fundamentals of unit tests
()
Overview of integration tests
()
Basics of end-to-end tests
()
2. Project Setup: Recipe App
Template: Node.js/Express project setup
()
Testing endpoints on Postman
()
Introduction to Jest
()
Jest setup
()
3. End-to-End Test with Jest
Test the Login endpoint
()
Finish up on Login endpoint test
()
Test the Create endpoint
()
Finish up on Create endpoint test
()
Test the Read endpoint
()
Test the Update endpoint
()
Finish up on Update endpoint test
()
Test the Delete endpoint
()
4. Test Coverage
Test error handling
()
Finish up on test error handling
()
Run test automatically
()