Testing JavaScript

Learn to write reliable software by testing it. You'll build a testing framework from scratch, practice TDD, mock dependencies, test async code, and finish with a complete test suite for a real API. Follow the ideas in small steps: first understand the concept, then practice it in the browser, and finally connect it to a realistic coding problem. Each lesson builds on the previous one so the track becomes a skill you can explain and use, not just a list of terms.

180 interactive lessons across 6 units · 36+ hours · intermediate level

What you will learn

Build practical skills in Testing, TDD, Jest, Unit Tests through browser-based coding exercises, guided feedback, unit quizzes, a debugging challenge, and a final project.

Course access

Unit 1, including its first 30 lessons and unit quiz, is free. The remaining 5 units require a CodeLearning365 Pro subscription.

View Pro access options

Testing JavaScript curriculum

The curriculum progresses from foundations to applied practice and mastery. Representative topics from every unit are listed below.

Unit 1: Foundations

30 lessons covering topics such as Why Testing?, Build a Test Framework, Assertions and Matchers, Testing Edge Cases, TDD: Red-Green-Refactor.

  • Why Testing?
  • Build a Test Framework
  • Assertions and Matchers
  • Testing Edge Cases
  • TDD: Red-Green-Refactor

Unit 2: Core Concepts

30 lessons covering topics such as Power Up 031: Integration Testing, Power Up 032: Boundary Value Analysis, Power Up 033: Property-Based Testing, Power Up 034: Refactoring with Tests, Power Up 035: Regression Testing.

  • Power Up 031: Integration Testing
  • Power Up 032: Boundary Value Analysis
  • Power Up 033: Property-Based Testing
  • Power Up 034: Refactoring with Tests
  • Power Up 035: Regression Testing

Unit 3: Building Skills

30 lessons covering topics such as Power Up 061: Why Testing?, Power Up 062: Build a Test Framework, Power Up 063: Assertions and Matchers, Power Up 064: Testing Edge Cases, Power Up 065: TDD: Red-Green-Refactor.

  • Power Up 061: Why Testing?
  • Power Up 062: Build a Test Framework
  • Power Up 063: Assertions and Matchers
  • Power Up 064: Testing Edge Cases
  • Power Up 065: TDD: Red-Green-Refactor

Unit 4: Applied Practice

30 lessons covering topics such as Power Up 091: Integration Testing, Power Up 092: Boundary Value Analysis, Power Up 093: Property-Based Testing, Power Up 094: Refactoring with Tests, Power Up 095: Regression Testing.

  • Power Up 091: Integration Testing
  • Power Up 092: Boundary Value Analysis
  • Power Up 093: Property-Based Testing
  • Power Up 094: Refactoring with Tests
  • Power Up 095: Regression Testing

Unit 5: Projects

30 lessons covering topics such as Power Up 121: Why Testing?, Power Up 122: Build a Test Framework, Power Up 123: Assertions and Matchers, Power Up 124: Testing Edge Cases, Power Up 125: TDD: Red-Green-Refactor.

  • Power Up 121: Why Testing?
  • Power Up 122: Build a Test Framework
  • Power Up 123: Assertions and Matchers
  • Power Up 124: Testing Edge Cases
  • Power Up 125: TDD: Red-Green-Refactor

Unit 6: Mastery

30 lessons covering topics such as Power Up 151: Integration Testing, Power Up 152: Boundary Value Analysis, Power Up 153: Property-Based Testing, Power Up 154: Refactoring with Tests, Power Up 155: Regression Testing.

  • Power Up 151: Integration Testing
  • Power Up 152: Boundary Value Analysis
  • Power Up 153: Property-Based Testing
  • Power Up 154: Refactoring with Tests
  • Power Up 155: Regression Testing

Compare all coding tracks