NSubstitute 2.0.0-alpha003

This is a prerelease version of NSubstitute.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NSubstitute --version 2.0.0-alpha003                
NuGet\Install-Package NSubstitute -Version 2.0.0-alpha003                
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="NSubstitute" Version="2.0.0-alpha003" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NSubstitute --version 2.0.0-alpha003                
#r "nuget: NSubstitute, 2.0.0-alpha003"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NSubstitute as a Cake Addin
#addin nuget:?package=NSubstitute&version=2.0.0-alpha003&prerelease

// Install NSubstitute as a Cake Tool
#tool nuget:?package=NSubstitute&version=2.0.0-alpha003&prerelease                

NSubstitute is a friendly substitute for .NET mocking frameworks. It has a simple, succinct syntax to help developers write clearer tests. NSubstitute is designed for Arrange-Act-Assert (AAA) testing and with Test Driven Development (TDD) in mind.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  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. 
DNXCore dnxcore50 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NSubstitute:

Package Downloads
AutoFixture.AutoNSubstitute

This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by NSubstitute. To use it, add the AutoNSubstituteCustomization to your Fixture instance. Read more at http://autofixture.codeplex.com/

TestStack.Dossier

TestStack.Dossier provides you with the code infrastructure to easily and quickly generate test fixture data for your automated tests in a terse, readable and maintainable way using the Test Data Builder, anonymous value and equivalence class patterns. Formerly called NTestDataBuilder.

GitHub repositories (428)

Showing the top 5 popular GitHub repositories that depend on NSubstitute:

Repository Stars
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
ardalis/CleanArchitecture
Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
App-vNext/Polly
Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
Version Downloads Last updated
4.2.2 67 3/8/2021
4.2.1 3 3/8/2021
4.2.0 32,952 3/8/2021
4.1.0 0 3/8/2021
4.0.0 0 3/8/2021
4.0.0-rc1 0 3/8/2021
3.1.0 0 3/8/2021
3.0.1 0 3/8/2021
3.0.0 0 3/8/2021
2.0.3 209 3/8/2021
2.0.2 23 3/8/2021
2.0.1-rc 1 3/8/2021
2.0.0-rc 5 3/8/2021
2.0.0-beta2 0 3/8/2021
2.0.0-beta 0 3/8/2021
2.0.0-alpha003 0 3/8/2021
2.0.0-alpha002 0 3/8/2021
2.0.0-alpha001 0 3/8/2021
1.10.0 4,890 3/8/2021
1.9.2 23,533 10/22/2015
1.9.1 16,355 9/30/2015
1.8.2 71,800 5/29/2015
1.8.1 136,168 12/26/2014
1.8.0 37,914 11/11/2014
1.7.2 161,213 3/4/2014
1.7.1 36,346 1/16/2014
1.7.0 7,794 1/3/2014
1.6.1 80,778 6/30/2013
1.6.0 34,582 4/19/2013
1.5.0 40,502 1/25/2013
1.4.3 33,408 8/15/2012
1.4.2 6,584 7/1/2012
1.4.1 580 6/28/2012
1.4.0 6,613 5/4/2012
1.3.0 7,260 11/22/2011
1.2.1 1,061 10/10/2011
1.2.0 739 9/29/2011
1.1.0 3,646 5/21/2011
1.0.0 1,475 5/17/2011
0.9.5 505 1/7/2011
0.9.0.34 481 1/7/2011