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 Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard1.6 is compatible. netstandard2.0 was computed. netstandard2.1 was computed.|
|.NET Framework||net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen30 was computed. tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- 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)
- Newtonsoft.Json (>= 9.0.1)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on nspec:
A base class for running NSpec examples in an NUnit context.
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 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.
Allows running NSpec specification from xUnit.
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:
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.
A battle hardened testing framework for C# that's heavily inspired by Mocha and RSpec.