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.
Install-Package NSpec.VsAdapter -Version 1.0.0
dotnet add package NSpec.VsAdapter --version 1.0.0
<PackageReference Include="NSpec.VsAdapter" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NSpec.VsAdapter --version 1.0.0
This package is not used by any popular GitHub repositories.