The McDev Blog

Kevin McKelvin's perspective of the Ruby world.

Unit Testing & Mocking Presentation (ERDDUG June 2011)

On Saturday I gave a presentation at ERDDUG on Unit Testing, Mocking and basics of TDD.

Slides are on Slideshare:

Unit testing

Also here’s the sound recording of the presentation.

Thanks to Misko Hevery for the diagrams I used in those slides to illustrate class dependencies. If you’re interested in some more detailed stuff, he has an excellent talk in the Google Tech Talks on designing for testability. It’s available on YouTube here