NSubstitute 4.2.1

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.

Install-Package NSubstitute -Version 4.2.1
dotnet add package NSubstitute --version 4.2.1
<PackageReference Include="NSubstitute" Version="4.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NSubstitute --version 4.2.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Showing the top 10 GitHub repositories that depend on NSubstitute:

Repository Stars
aspnetboilerplate/aspnetboilerplate
ASP.NET Boilerplate - Web Application Framework
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
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).
NLog/NLog
NLog - Advanced and Structured Logging for Various .NET Platforms
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
StackExchange/StackExchange.Redis
General purpose redis client
abpframework/abp
Open Source Web Application Framework for ASP.NET Core
dotnetcore/Util
Util是一个.net core平台下的应用框架,旨在提升小型团队的开发输出能力,由常用公共操作类(工具类)、分层架构基类、Ui组件,第三方组件封装,第三方业务接口封装,配套代码生成模板,权限等组成。
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.2.1 3,438,926 7/15/2019
4.2.0 994,899 5/19/2019
4.1.0 315,540 5/5/2019
4.0.0 1,634,582 1/30/2019
4.0.0-rc1 57,773 11/19/2018
3.1.0 6,334,722 10/27/2017
3.0.1 377,772 10/8/2017
2.0.3 2,680,845 4/25/2017
2.0.1-rc 90,149 12/17/2016
2.0.0-rc 123,328 8/7/2016
1.10.0 2,198,510 3/22/2016
1.9.2 756,520 10/22/2015
1.9.1 182,341 9/30/2015
1.8.2 570,451 5/29/2015
1.8.1 444,879 12/26/2014
1.8.0 78,830 11/11/2014
1.7.2 348,595 3/4/2014
1.7.1 161,636 1/16/2014
1.7.0 31,048 1/3/2014
1.6.1 192,542 6/30/2013
1.6.0 65,682 4/19/2013
1.5.0 174,655 1/25/2013
1.4.3 53,345 8/15/2012
1.4.2 20,968 7/1/2012
1.4.1 2,343 6/28/2012
1.4.0 10,087 5/4/2012
1.3.0 36,185 11/22/2011
1.2.1 3,564 10/10/2011
1.2.0 2,925 9/29/2011
1.1.0 17,760 5/21/2011
1.0.0 24,760 5/17/2011
0.9.5 2,904 1/7/2011
0.9.0.34 8,954 1/7/2011