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,235,079 7/15/2019
4.2.0 973,982 5/19/2019
4.1.0 309,182 5/5/2019
4.0.0 1,611,193 1/30/2019
4.0.0-rc1 56,476 11/19/2018
3.1.0 6,267,078 10/27/2017
3.0.1 376,729 10/8/2017
2.0.3 2,646,603 4/25/2017
2.0.1-rc 88,920 12/17/2016
2.0.0-rc 122,985 8/7/2016
1.10.0 2,182,391 3/22/2016
1.9.2 750,200 10/22/2015
1.9.1 180,640 9/30/2015
1.8.2 564,295 5/29/2015
1.8.1 442,656 12/26/2014
1.8.0 78,286 11/11/2014
1.7.2 346,687 3/4/2014
1.7.1 159,957 1/16/2014
1.7.0 30,885 1/3/2014
1.6.1 191,818 6/30/2013
1.6.0 65,429 4/19/2013
1.5.0 173,055 1/25/2013
1.4.3 53,210 8/15/2012
1.4.2 20,863 7/1/2012
1.4.1 2,332 6/28/2012
1.4.0 10,044 5/4/2012
1.3.0 36,142 11/22/2011
1.2.1 3,541 10/10/2011
1.2.0 2,913 9/29/2011
1.1.0 17,681 5/21/2011
1.0.0 24,503 5/17/2011
0.9.5 2,892 1/7/2011
0.9.0.34 8,784 1/7/2011