Creating Unit Tests for ASP.NET MVC Applications

By Stephen Walther|15 minutes|

Learn how to create unit tests for controller actions. In this tutorial, Stephen Walther demonstrates how to test whether a controller action returns a particular view, returns a particular set of data, or returns a different type of action result. For additional information about this video, read the "Creating Unit Tests for ASP.NET MVC Applications" tutorial (C#, VB).


This article was originally created on August 20, 2008

Author Information

Stephen Walther

Stephen Walther – Stephen Walther has been involved with ASP.NET from the beginning. His training company, and, conducted the first training class on ASP.NET. He also lectures regularly on ASP.NET and he is a Microsoft ASP.NET MVP.