Unit 8
Unit 8: Testing
Work through the lessons below in order. Each lesson includes short explanations and runnable code.
Lessons
- 1. What Is Debugging and Why It Matters
- 2. Common Types of Errors
- 3. Using Print Statements for Debugging
- 4. Using Breakpoints and Debuggers
- 5. Understanding Tracebacks and Error Messages
- 6. Writing and Running Tests
- 7. Introduction to the unittest Module
- 8. Test-Driven Development (TDD)
- 9. Debugging Logical and Runtime Errors
- 10. Maintaining Code Quality Through Continuous Testing