nspec 3.1.0
dotnet add package nspec --version 3.1.0
NuGet\Install-Package nspec -Version 3.1.0
<PackageReference Include="nspec" Version="3.1.0" />
paket add nspec --version 3.1.0
#r "nuget: nspec, 3.1.0"
// 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
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.6
- NETStandard.Library (>= 1.6.0)
- System.Reflection.TypeExtensions (>= 4.1.0)
- System.Runtime.Serialization.Xml (>= 4.1.1)
- System.Text.Encodings.Web (>= 4.0.0)
-
All Frameworks
- Newtonsoft.Json (>= 9.0.1)
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 | 257,909 | 6/12/2017 |
3.0.7 | 2,590 | 4/3/2017 |
3.0.6 | 1,506 | 3/28/2017 |
3.0.5 | 1,305 | 3/26/2017 |
3.0.4 | 1,373 | 3/21/2017 |
3.0.3 | 2,711 | 3/6/2017 |
3.0.2 | 1,356 | 3/6/2017 |
3.0.1 | 1,331 | 3/6/2017 |
3.0.0 | 1,612 | 3/2/2017 |
2.0.1 | 11,732 | 2/17/2017 |
2.0.0 | 2,192 | 2/2/2017 |
1.0.13 | 29,111 | 9/26/2016 |
1.0.7 | 2,782 | 7/21/2016 |
1.0.6 | 1,078 | 7/21/2016 |
1.0.5 | 4,611 | 4/13/2016 |
1.0.4 | 7,040 | 12/14/2015 |
1.0.1 | 3,233 | 10/4/2015 |
0.9.68 | 15,950 | 7/21/2014 |
0.9.67 | 9,314 | 7/3/2013 |
0.9.66 | 3,336 | 4/23/2013 |
0.9.65 | 1,611 | 4/15/2013 |
0.9.64 | 5,566 | 10/25/2012 |
0.9.63 | 1,465 | 10/25/2012 |
0.9.62 | 2,772 | 7/17/2012 |
0.9.61 | 2,786 | 4/25/2012 |
0.9.60 | 1,404 | 4/24/2012 |
0.9.59 | 2,324 | 2/29/2012 |
0.9.58 | 2,229 | 1/25/2012 |
0.9.57 | 1,375 | 1/24/2012 |
0.9.56 | 1,364 | 1/24/2012 |
0.9.55 | 1,339 | 1/24/2012 |
0.9.54 | 1,407 | 1/24/2012 |
0.9.53 | 1,907 | 11/30/2011 |
0.9.52 | 1,426 | 11/26/2011 |
0.9.51 | 1,681 | 9/23/2011 |
0.9.50 | 1,876 | 8/18/2011 |
0.9.49 | 1,500 | 8/7/2011 |
0.9.48 | 1,409 | 8/6/2011 |
0.9.46 | 1,426 | 8/4/2011 |
0.9.45 | 1,406 | 8/3/2011 |
0.9.44 | 1,461 | 7/28/2011 |
0.9.43 | 1,508 | 7/9/2011 |
0.9.42 | 1,581 | 6/7/2011 |
0.9.41 | 1,634 | 6/2/2011 |
0.9.40 | 1,530 | 6/2/2011 |
0.9.39 | 1,517 | 5/17/2011 |
0.9.37 | 1,538 | 5/7/2011 |
0.9.36 | 1,457 | 5/7/2011 |
0.9.34 | 1,504 | 5/7/2011 |
0.9.33 | 1,559 | 5/7/2011 |
0.9.32 | 1,564 | 5/3/2011 |
0.9.31 | 1,514 | 4/30/2011 |
0.9.30 | 1,568 | 4/30/2011 |
0.9.29 | 1,599 | 4/23/2011 |
0.9.28 | 1,562 | 4/19/2011 |
0.9.27 | 1,610 | 4/13/2011 |
0.9.26 | 1,615 | 4/12/2011 |
0.9.25 | 1,612 | 4/12/2011 |
0.9.24 | 1,591 | 4/2/2011 |
0.9.23 | 1,569 | 4/2/2011 |
0.9.22 | 1,597 | 3/31/2011 |
0.9.21 | 1,589 | 3/31/2011 |
0.9.20 | 1,616 | 3/31/2011 |
0.9.19 | 1,555 | 3/28/2011 |
0.9.17 | 1,655 | 3/28/2011 |
0.9.16 | 1,615 | 3/27/2011 |
0.9.15 | 1,618 | 3/27/2011 |
0.9.13 | 1,572 | 3/26/2011 |
0.9.10 | 1,636 | 3/25/2011 |
0.9.2 | 1,442 | 10/4/2015 |
0.9.1 | 3,031 | 10/4/2015 |