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 11,185 12/14/2012
1.5.51 4,048 3/13/2012
1.4.24 1,370 10/12/2011
1.0.2 670 8/11/2011
1.0.1 533 8/10/2011
1.0.0 535 8/9/2011