Lab 13: Debugging & Testing
🎯 Objective
📚 Background
⏱️ Estimated Time
📋 Prerequisites
🛠️ Tools Used
🔬 Lab Instructions
Step 1: Strategic Print Debugging
Step 2: Assertions for Invariants
Step 3: The logging Module
Step 4: Writing Unit Tests with unittest
Step 5: pytest Style Testing
Step 6: Test-Driven Development (TDD)
Step 7: Debugging with traceback
Step 8: Common Bug Patterns and Fixes
✅ Verification
🚨 Common Mistakes
📝 Summary
🔗 Further Reading
Last updated
