This screencast demonstrates how to Stub out dependencies using a wrapper class.
Learn how to extend the ASP.NET MVC framework with dependency injection, view engines, action filters, and more. We’ll see how to apply Test Driven Development and write unit tests with mock objects.
In this fifth and final episode, Stephen Walther and Charlie Poole successfully view blog entries in a page and all of their tests are green. This episode ends with Charlie Poole’s thoughts on the process that they followed and ASP.NET MVC. http://www.asp.net/learn/mvc-videos/video-409.aspx
In this fourth episode, Stephen Walther and Charlie Poole build classes that represent their blog and blog entries. Charlie Poole also demonstrates some useful NUnit tricks. http://www.asp.net/learn/mvc-videos/video-408.aspx
In this third episode, Stephen Walther and Charlie Poole build tests that verify that their blog can return blog entries. They build unit tests for the case when there are no entries returned and the case when a single entry is returned. http://www.asp.net/learn/mvc-videos/video-407.aspx
In this second episode, Stephen Walther and Charlie Poole create the ASP.NET MVC application with Visual Studio and run their first unit tests with NUnit. Charlie Poole explains that you can take shorter or longer steps when testing depending on your confidence level. http://www.asp.net/learn/mvc-videos/video-406.aspx