By tag: Moq
Ban this user: Options
Please provide a reason for deleting this story
Want to learn how to better unit test your controllers in Asp.net MVC? In this example I go through the process of testing a controller action in asp.net MVC using Moq (but it could be easily translated into another mocking framework).
An idea on a feature addition to Moq where expectations could be put into groups and then verified independently. This would allow construction of complex mocks that could be shared across many tests.