Unit 6.4

Testing Chapter 20 · Advanced Topics

~2 weeks 2 tutorials Module Project

Confidence in your code comes from testing. This unit covers the testing pyramid: unit testing (Jest, Vitest), integration testing, and end‑to‑end testing (Cypress, Playwright). You will also learn test‑driven development (TDD), mocking, and testing React components with React Testing Library.

Unit Learning Outcomes

Tutorials

Unit & Integration Testing

Jest, Vitest, React Testing Library, and mocking.

Start tutorial

E2E Testing & TDD

Cypress, Playwright, test coverage, and TDD workflow.

Start tutorial

Assessments & Deliverables

Unit 6.4 Quiz Due: End of Week 18 Start
Module Project: Production Optimisation Submit: End of Module 6 Submit