Machine.Specifications.Mvc is a set of extensions for testing ASP.Net MVC specific types.

It aims to ease the testing of ActionResult objects returned from MVC Controllers by providing an Machine.Specifications (MSpec) BDD syntax over these types.

v1.0.2.0 - Added support for Partial View (ShouldBeAPartialView)

Install-Package Machine.Specifications.Mvc -Version
dotnet add package Machine.Specifications.Mvc --version
paket add Machine.Specifications.Mvc --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Refactored "And" objects to a single generic object. Some return types in ActionResultExtensions (i.e. ViewResultAnd became ActionResultAnd<ViewResult>), so it could break someone's code if they wrote extension methods based on those return types.

Version History

Version Downloads Last updated (current version) 7,363 12/14/2012
1.5.51 3,880 3/13/2012
1.4.24 1,188 10/12/2011
1.0.2 453 8/11/2011
1.0.1 343 8/10/2011
1.0.0 346 8/9/2011