← All courses
IND 512 · 2 credits
Testing & Debugging
Write tests that catch bugs before users do, and debug with a method instead of guesswork. You will build assert-based tests from scratch, practice test-driven development, learn what mocks really are, read stack traces like prose, and finish by testing and fixing a genuinely buggy module.
Local progress0/29 lessons · 0%
What you'll learn
- ✓Write clear, focused unit tests with arrange, act, assert structure and honest names
- ✓Discover edge cases systematically and hunt down off-by-one errors with boundary tests
- ✓Practice the red, green, refactor TDD loop and know when it pays off
- ✓Isolate code under test using fakes, stubs, and mocks, and explain the difference
- ✓Debug with a hypothesis-driven loop: reproduce, isolate by halves, fix, and prove the fix
- ✓Read any Python stack trace bottom-up and translate it into a plain-language diagnosis
Unit 1Why Tests: Your Safety Net
Unit 2Anatomy of a Good Test
Unit 3Edge Cases and Boundaries
Unit 4Test-Driven Development
Unit 5Test Doubles and Mocking
Unit 6Integration and End-to-End Tests
Unit 7Debugging Methodology
Unit 8Reading Stack Traces Like Prose
Unit 9Bisection and Debugging Tools
Unit 10Capstone: Test and Fix a Buggy Module
Reviews
—
0 ratings
5
0
4
0
3
0
2
0
1
0
- No reviews yet.
Discussion
- No comments yet. Sign in to comment.