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.

Version History

Version Downloads Last updated
4.2.1 108 7/15/2019
4.2.0 170,780 5/19/2019
4.1.0 113,233 5/5/2019
4.0.0 715,144 1/30/2019
4.0.0-rc1 26,918 11/19/2018
3.1.0 4,225,649 10/27/2017
3.0.1 329,862 10/8/2017
2.0.3 1,818,640 4/25/2017
2.0.1-rc 57,852 12/17/2016
2.0.0-rc 112,962 8/7/2016
1.10.0 1,686,387 3/22/2016
1.9.2 595,703 10/22/2015
1.9.1 111,173 9/30/2015
1.8.2 425,873 5/29/2015
1.8.1 384,839 12/26/2014
1.8.0 65,137 11/11/2014
1.7.2 302,011 3/4/2014
1.7.1 118,157 1/16/2014
1.7.0 26,332 1/3/2014
1.6.1 171,328 6/30/2013
1.6.0 57,225 4/19/2013
1.5.0 130,588 1/25/2013
1.4.3 43,720 8/15/2012
1.4.2 12,762 7/1/2012
1.4.1 1,050 6/28/2012
1.4.0 8,516 5/4/2012
1.3.0 31,563 11/22/2011
1.2.1 1,960 10/10/2011
1.2.0 1,517 9/29/2011
1.1.0 13,830 5/21/2011
1.0.0 18,851 5/17/2011
0.9.5 1,597 1/7/2011
0.9.0.34 4,868 1/7/2011