
TDD
Course Index
28 Lessons · 3 Sections
Master Test-Driven Development — the discipline used by Google, Amazon & top engineering teams. Covers Red-Green-Refactor, unit/integration testing, mocking, BDD & TDD in JavaScript, Python & Java. Includes 5 production builds written test-first from scratch.
28Lessons
3Sections
4Projects
FreeAccess
Section 1TDD Fundamentals & Language FrameworksLessons 1–10
Lesson 1
What is TDD? The Red-Green-Refactor Cycle
Lesson 2
The Three Laws of TDD
Lesson 3
Writing Your First Failing Test
Lesson 4
Unit Testing Fundamentals
Lesson 5
Test Doubles: Mocks, Stubs & Fakes
Lesson 6
Arrange-Act-Assert Pattern
Lesson 7
TDD in Python: pytest
Lesson 8
TDD in JavaScript: Jest & Vitest
Lesson 9
TDD in Java: JUnit & Mockito
Lesson 10
TDD in TypeScript
Section 2Advanced TDD PracticesLessons 11–22
Lesson 11
Integration Testing with TDD
Lesson 12
BDD: Behaviour-Driven Development
Lesson 13
Property-Based Testing
Lesson 14
Test Coverage: What It Means & What It Doesn't
Lesson 15
TDD for APIs & REST Endpoints
Lesson 16
TDD for Databases
Lesson 17
Outside-In (London) vs Inside-Out (Chicago) TDD
Lesson 18
Evolutionary Design with TDD
Lesson 19
TDD for Legacy Code
Lesson 20
Continuous Integration & TDD
Lesson 21
The Economics of TDD
Lesson 22
AI-Assisted Test Generation 2026
Section 3Anti-Patterns, Team Adoption & ProjectsLessons 23–28