NSubstitute 4.2.0

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

Version History

Version Downloads Last updated
4.2.0 62,956 5/19/2019
4.1.0 81,814 5/5/2019
4.0.0 606,145 1/30/2019
4.0.0-rc1 24,447 11/19/2018
3.1.0 4,012,589 10/27/2017
3.0.1 325,034 10/8/2017
2.0.3 1,746,197 4/25/2017
2.0.1-rc 55,386 12/17/2016
2.0.0-rc 112,051 8/7/2016
1.10.0 1,647,316 3/22/2016
1.9.2 584,420 10/22/2015
1.9.1 107,441 9/30/2015
1.8.2 416,131 5/29/2015
1.8.1 380,545 12/26/2014
1.8.0 64,108 11/11/2014
1.7.2 298,352 3/4/2014
1.7.1 113,701 1/16/2014
1.7.0 25,966 1/3/2014
1.6.1 169,816 6/30/2013
1.6.0 56,801 4/19/2013
1.5.0 128,526 1/25/2013
1.4.3 43,341 8/15/2012
1.4.2 12,150 7/1/2012
1.4.1 1,021 6/28/2012
1.4.0 8,451 5/4/2012
1.3.0 30,896 11/22/2011
1.2.1 1,912 10/10/2011
1.2.0 1,484 9/29/2011
1.1.0 13,569 5/21/2011
1.0.0 18,459 5/17/2011
0.9.5 1,562 1/7/2011
0.9.0.34 4,599 1/7/2011