Debugging and Testing Code — Python
10 lessons. Diagnose errors, isolate reproductions, repair boundary and mutation bugs, design regression tests, and review flawed generated code. Parallel tracks teach corresponding concepts with independent progress.
For learners who know variables, loops, functions, lists, and dictionaries. Written lessons, at your own pace.
All standard catalog courses are included in the course purchase.
01Read errors before changing codeTranslate a traceback or exception into a concrete failing operation.Free preview02Build a minimal reproductionReduce a failure while preserving the distinction that exposes it.Free preview03Find boundary and off-by-one errorsMake inclusive and exclusive limits explicit.Course04Trace mutation and aliasingVerify side effects as well as returned values.Course05Distinguish missing from falsyDefine absent, null and valid empty values separately.Course06Inspect coercion and comparison rulesUse deliberate conversion rather than permissive language shortcuts.Course07Keep a regression for every repairAdd a failing case that protects the repaired behavior.Course08Make results deterministicSpecify tie-breaking and ordering independently of input accidents.Course09Review plausible generated codeCheck assumptions hidden behind concise or confident-looking implementations.Course10Design assertions that distinguish wrong implementationsChoose tests that separate the specification from plausible alternatives.Course
Learn it. Then put it to work.
Pair the course with 25 challenges, progressive hints, and worked solutions.
Explore the complete bundle