This past Thursday I gave a short talk at the monthly OINK-PUG meeting about how I discovered the Test-Driven Development Kool-Aid®. I knew about TDD years before I actually started doing it. I tried to start several times, and never kept it going. About a year ago, while developing a web service with no screens, the light bulb went on and gave me the idea for this talk.
In which I give a short introduction to unit testing, and then outline the story that finally turned on the light bulb about real test-driven development and test first for me. The third part of the talk gives an introduction to Dependency Injection (DI), an integral part to unit testing.