NSubstitute 4.2.2
dotnet add package NSubstitute --version 4.2.2
NuGet\Install-Package NSubstitute -Version 4.2.2
<PackageReference Include="NSubstitute" Version="4.2.2" />
<PackageVersion Include="NSubstitute" Version="4.2.2" />
<PackageReference Include="NSubstitute" />
paket add NSubstitute --version 4.2.2
#r "nuget: NSubstitute, 4.2.2"
#addin nuget:?package=NSubstitute&version=4.2.2
#tool nuget:?package=NSubstitute&version=4.2.2
NSubstitute is a friendly substitute for .NET mocking libraries. 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 | 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. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. 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. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.5
- Castle.Core (>= 4.4.0)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETFramework 4.6
- Castle.Core (>= 4.4.0)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETStandard 1.3
- Castle.Core (>= 4.4.0)
- NETStandard.Library (>= 1.6.1)
- System.Linq.Queryable (>= 4.3.0)
- System.Reflection.TypeExtensions (>= 4.3.0)
- System.Threading.Tasks.Extensions (>= 4.3.0)
-
.NETStandard 2.0
- Castle.Core (>= 4.4.0)
- System.Threading.Tasks.Extensions (>= 4.3.0)
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 (444)
Showing the top 20 popular GitHub repositories that depend on NSubstitute:
Repository | Stars |
---|---|
icsharpcode/ILSpy
.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
|
ardalis/CleanArchitecture
Clean Architecture Solution Template: A proven Clean Architecture Template for ASP.NET Core 9
|
|
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+.
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
|
|
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
|
|
dotnet-architecture/eShopOnWeb
Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb
|
|
dotnet/orleans
Cloud Native application framework for .NET
|
|
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
|
|
lepoco/wpfui
WPF UI provides the Fluent experience in your known and loved WPF framework. Intuitive design, themes, navigation and new immersive controls. All natively and effortlessly.
|
|
gitextensions/gitextensions
Git Extensions is a standalone UI tool for managing git repositories. It also integrates with Windows Explorer and Microsoft Visual Studio (2015/2017/2019).
|
|
dotnet/eShop
A reference .NET application implementing an eCommerce site
|
|
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
|
|
elsa-workflows/elsa-core
A .NET workflows library
|
|
dotnetcore/CAP
Distributed transaction solution in micro-service base on eventually consistency, also an eventbus with Outbox pattern
|
|
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
|
|
StackExchange/StackExchange.Redis
General purpose redis client
|
|
nissl-lab/npoi
a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
|
Version | Downloads | Last updated |
---|---|---|
4.2.2 | 69 | 3/8/2021 |
4.2.1 | 4 | 3/8/2021 |
4.2.0 | 32,953 | 3/8/2021 |
4.1.0 | 1 | 3/8/2021 |
4.0.0 | 1 | 3/8/2021 |
4.0.0-rc1 | 1 | 3/8/2021 |
3.1.0 | 1 | 3/8/2021 |
3.0.1 | 2 | 3/8/2021 |
3.0.0 | 1 | 3/8/2021 |
2.0.3 | 210 | 3/8/2021 |
2.0.2 | 24 | 3/8/2021 |
2.0.1-rc | 2 | 3/8/2021 |
2.0.0-rc | 6 | 3/8/2021 |
2.0.0-beta2 | 1 | 3/8/2021 |
2.0.0-beta | 1 | 3/8/2021 |
2.0.0-alpha003 | 2 | 3/8/2021 |
2.0.0-alpha002 | 1 | 3/8/2021 |
2.0.0-alpha001 | 1 | 3/8/2021 |
1.10.0 | 4,892 | 3/8/2021 |
1.9.2 | 23,534 | 10/22/2015 |
1.9.1 | 16,356 | 9/30/2015 |
1.8.2 | 71,801 | 5/29/2015 |
1.8.1 | 136,170 | 12/26/2014 |
1.8.0 | 37,915 | 11/11/2014 |
1.7.2 | 161,214 | 3/4/2014 |
1.7.1 | 36,347 | 1/16/2014 |
1.7.0 | 7,795 | 1/3/2014 |
1.6.1 | 80,779 | 6/30/2013 |
1.6.0 | 34,583 | 4/19/2013 |
1.5.0 | 40,504 | 1/25/2013 |
1.4.3 | 33,409 | 8/15/2012 |
1.4.2 | 6,585 | 7/1/2012 |
1.4.1 | 581 | 6/28/2012 |
1.4.0 | 6,614 | 5/4/2012 |
1.3.0 | 7,262 | 11/22/2011 |
1.2.1 | 1,062 | 10/10/2011 |
1.2.0 | 740 | 9/29/2011 |
1.1.0 | 3,647 | 5/21/2011 |
1.0.0 | 1,476 | 5/17/2011 |
0.9.5 | 506 | 1/7/2011 |
0.9.0.34 | 483 | 1/7/2011 |