Weekly Web Nuggets #22

This week is the TDD edition of the web nuggets. This week I've been getting my feet wet with some practical TDD...and loving it! A number of the links this week were a big help in pointing me in the right direction.

Test Driven Development

  • Getting Started With TDD: Steve Smith writes about getting started with TDD, something that I've been struggling with recently. I couldn't agree more with his point of view - you just have to jump in and get your feet wet. It doesn't have to be a whole project, start to finish...it can be new functionality in an existing project. You can research the topic until your head explodes, but you just won't 'get it' until you start doing it. Go ahead, jump in!
  • TDD Is How I Do It, Not What I Do: In the event your find yourself in the position to have to explain to management why you 'waste time writing those test things', Brett Schuchert's post about TDD is a must-read. TDD is simply how you write good code! He outlines a number of reasons of how TDD is a means to the end result - good, maintainable code and a product that meets the expectations.
  • Unit Test Boundaries: Phil Haack helps to define the 'unit' in unit test by pointing out where the boundaries are. This is another great realization when hitching a ride on the TDD train!
  • Mocking ASP.NET MVC: This is an older post, but one that I've found incredibly helpful as I've been diving into TDD & MVC.
  • StructureMap Medium-Level Usage Scenarios: Chad Myers outlines the different ways you can wire-up StructureMap.

General

Web Development