nspec 3.1.0

.NET Standard 1.6 .NET Framework 4.5.1
Install-Package nspec -Version 3.1.0
dotnet add package nspec --version 3.1.0
<PackageReference Include="nspec" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add nspec --version 3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: nspec, 3.1.0"
#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 nspec as a Cake Addin
#addin nuget:?package=nspec&version=3.1.0

// Install nspec as a Cake Tool
#tool nuget:?package=nspec&version=3.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NSpec is a BDD-style testing framework for .NET. NSpec is intended to drive development by specifying behavior within a context or scenario. NSpec belongs to the xSpec (Context/Specification) family and is heavily inspired by RSpec and Mocha.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on nspec:

Package Downloads
NSpecInNUnit

A base class for running NSpec examples in an NUnit context.

nspec4nunit

Configures the project as a self-running NSpec test project with the NUnit GUI. Also contains an addin for NUnit that performs the magic of integrating with NSpec.

NSpec.VsAdapter

NSpec.VsAdapter is a test adapter to run NSpec tests from Test Explorer in Visual Studio. It runs tests from projects targeting classic .NET Framework. It is available both as a Visual Studio Extension (for VS 2013, 2015) as well as a NuGet Package (for VS 2017). VS Extension for 2017 is under development. It currently supports test projects targeting .NET Framework 4.5 and later, and NSpec 1.0.x. NOTE: To work with old project.json-based .NET Core projects, please try dotnet-test-nspec runner. Support for MSBuild-based .NET Core projects is under development. Support for VS 2017 Extension is under development as well.

NSpecAdapterForXunit

Allows running NSpec specification from xUnit.

NSpec.Runner

NSpec.Runner allows you to run NSpec through Visual Studio's text explorer as well as NUnit.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on nspec:

Repository Stars
fluentassertions/fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, as well as .NET Core 2.1, .NET Core 3.0, .NET 6, .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
nspec/NSpec
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.
Version Downloads Last updated
3.1.0 180,845 6/12/2017
3.0.7 2,439 4/3/2017
3.0.6 1,324 3/28/2017
3.0.5 1,172 3/26/2017
3.0.4 1,230 3/21/2017
3.0.3 2,421 3/6/2017
3.0.2 1,212 3/6/2017
3.0.1 1,188 3/6/2017
3.0.0 1,466 3/2/2017
2.0.1 10,252 2/17/2017
2.0.0 2,022 2/2/2017
1.0.13 27,721 9/26/2016
1.0.7 2,220 7/21/2016
1.0.6 952 7/21/2016
1.0.5 4,299 4/13/2016
1.0.4 6,825 12/14/2015
1.0.1 2,930 10/4/2015
0.9.68 15,105 7/21/2014
0.9.67 9,075 7/3/2013
0.9.66 3,104 4/23/2013
0.9.65 1,460 4/15/2013
0.9.64 5,194 10/25/2012
0.9.63 1,319 10/25/2012
0.9.62 2,363 7/17/2012
0.9.61 2,634 4/25/2012
0.9.60 1,256 4/24/2012
0.9.59 2,019 2/29/2012
0.9.58 2,070 1/25/2012
0.9.57 1,225 1/24/2012
0.9.56 1,217 1/24/2012
0.9.55 1,188 1/24/2012
0.9.54 1,256 1/24/2012
0.9.53 1,744 11/30/2011
0.9.52 1,266 11/26/2011
0.9.51 1,526 9/23/2011
0.9.50 1,711 8/18/2011
0.9.49 1,338 8/7/2011
0.9.48 1,254 8/6/2011
0.9.46 1,267 8/4/2011
0.9.45 1,248 8/3/2011
0.9.44 1,301 7/28/2011
0.9.43 1,349 7/9/2011
0.9.42 1,427 6/7/2011
0.9.41 1,479 6/2/2011
0.9.40 1,373 6/2/2011
0.9.39 1,357 5/17/2011
0.9.37 1,375 5/7/2011
0.9.36 1,295 5/7/2011
0.9.34 1,343 5/7/2011
0.9.33 1,398 5/7/2011
0.9.32 1,405 5/3/2011
0.9.31 1,355 4/30/2011
0.9.30 1,403 4/30/2011
0.9.29 1,439 4/23/2011
0.9.28 1,395 4/19/2011
0.9.27 1,440 4/13/2011
0.9.26 1,443 4/12/2011
0.9.25 1,449 4/12/2011
0.9.24 1,421 4/2/2011
0.9.23 1,404 4/2/2011
0.9.22 1,436 3/31/2011
0.9.21 1,427 3/31/2011
0.9.20 1,453 3/31/2011
0.9.19 1,385 3/28/2011
0.9.17 1,486 3/28/2011
0.9.16 1,448 3/27/2011
0.9.15 1,451 3/27/2011
0.9.13 1,404 3/26/2011
0.9.10 1,468 3/25/2011
0.9.2 1,307 10/4/2015
0.9.1 2,344 10/4/2015