PreviousNext

Testing an ASP.NET MVC Controller using NUnit

by bill-s, 2015-04-04T07:54:13.000Z

In a previous article, we discussed how to do ASP.NET MVC Model Testing using NUnit and MOQ. Today we will learn how to test another major component of MVC, and that is the Controller. The Controller is responsible for updating model state and also returning a result e.g. views, json, http status code, etc.

Read More