Skip to course content
Free course

Python Foundations / Module 6

Module 6

Errors, Debugging, Validation, and Tests

Investigate failures systematically and prove a repair with tests.

Executable courseUse the text pages for explanation and the browser notebook for practice. Work stays in this browser unless you download it.

Module sequence

  1. Errors Are EvidenceUnit 1 · 18-25 minutes
  2. Reading TracebacksUnit 2 · 22-30 minutes
  3. Reproduce, Isolate, and InspectUnit 3 · 22-30 minutes
  4. Input ValidationUnit 4 · 25-35 minutes
  5. Raising Useful ErrorsUnit 6 · 20-30 minutes
  6. Assertions and Focused TestsUnit 7 · 25-35 minutes
  7. Debugging Generated CodeUnit 8 · 20-30 minutes