.NET Framework
dotnet add package Machine.Specifications.Mvc --version
NuGet\Install-Package Machine.Specifications.Mvc -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Machine.Specifications.Mvc" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Machine.Specifications.Mvc --version
#r "nuget: Machine.Specifications.Mvc,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Machine.Specifications.Mvc as a Cake Addin
#addin nuget:?package=Machine.Specifications.Mvc&version=

// Install Machine.Specifications.Mvc as a Cake Tool
#tool nuget:?package=Machine.Specifications.Mvc&version=

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)

Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 34,981 12/14/2012
1.5.51 4,792 3/13/2012
1.4.24 2,120 10/12/2011
1.0.2 1,422 8/11/2011
1.0.1 1,273 8/10/2011
1.0.0 1,282 8/9/2011

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.