Here’s a handful of articles on designing with or for TDD I had originally posted on my old blog. I’ve been haphazardly trying to write about all the things I wished I’d known when I was starting to use TDD. To be honest, I think my first TDD/CI project was a mild disaster. There’s a few tricks and principles to follow to keep out of TDD hell and I’ll eventually get around to more content on the subject.
- TDD Design Starter Kit – Static Methods and Singletons May Be Harmful
- TDD Design Starter Kit – State vs. Interaction Testing
- TDD Design Starter Kit – Dependency Inversion Principle
- TDD Design Starter Kit – Responsibilities, Cohesion, and Coupling
- A Simple Example of the “Humble Dialog Box”
I’m still meaning to write about the topics below. If you’ve got any suggestions for future posts, feel free to send them to me and I’ll see what I can do.
- Assigning Responsibilities
- Inversion of Control
- Dependency Injection (with and without a “container”)
- Gateway Pattern
- Mocks and Stubs – Best (and Worst) Practices
- Untangling Code from Configuration (huge pet peeve of mine)
- Law of Demeter/Tell, Don’t Ask