In this chapter, you'll learn:
How to implement test-driven development (TDD) in ASP.NET MVC projects, and how to use mock objects.
This walkthrough shows you how to develop an ASP.NET MVC application in Visual Studio using the test-driven development (TDD) approach.
This Pluralsight video provides an introduction to unit testing.
In this blog post, Phil Haack demonstrates Test Driven Development and Dependency Injection with ASP.NET MVC.
Justin Etheredge shows how to design a testable ASP.NET MVC application
This article describes how to use TDD with mock objects to design object-oriented code in terms of roles and responsibilities, not categorization of objects into class hierarchies.
In this MSDN article, Brandon Satrom provides a primer on Behavior-Driven Development.
This video accompanies the MSDN article and also provides a primer on Behavior-Driven Development.
In this blog post, Steve Sanderson talks about the major tools that have come out of the BDD stable.
This article discuss the general strategy for service location in ASP.NET MVC 3.
See "Dependency Injection in ASP.NET MVC applications" and "Testing" in the ASP.NET MVC Content Map.