Testing, Quality & Craft
Code you'd put your name on.
Real tests (unit, integration, end-to-end), TDD, test doubles, clean code, refactoring, code review, documentation that lasts, deep Git, and working with AI like a senior engineer. The craft that makes code a pleasure to change.
Lessons
- โ
Why Test At All
The real cost of bugs, and how tests give you the confidence to change anything.
- โ
Your First Real Tests
Write real unit tests with arrange-act-assert โ and actually enjoy it.
- โ
Test-Driven Development
Red, green, refactor: let tests drive the design, not just check it.
- โ
Integration & End-to-End Tests
Test whole flows โ integration and end-to-end โ the way users actually hit them.
- โ
Test Doubles: Mocks, Stubs & Fakes
Mocks, stubs, and fakes: isolate what you're testing without faking your way into lies.
- โ
Coverage That Means Something
Test the critical path that matters, not a meaningless 100% coverage number.
- โ
Clean Code
Naming, functions, and the readability that compounds every time you return to it.
- โ
Code Smells & Refactoring
Recognize rot and refactor it safely โ with tests as your safety net.
- โ
Code Review Mastery
Give and receive code review that makes the code AND the people better.
- โ
Documentation That Survives
READMEs, comments that earn their place, and ADRs that capture the 'why.'
- โ
Git, Deeply
Git beyond save: branches, rebase, conflict resolution, and bisect to hunt bugs.
- โ
Working With AI Like a Senior Engineer
Specs as prompts, reviewing AI output like a staff engineer, and when NOT to trust it.
- โ
Capstone: Messy App โ Tested, Clean & Documented
Take a messy app to tested, clean, documented, and reviewable โ with a real test suite.
๐๏ธ Build It Right, Or Don't Build It At All.