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 8,608 5/19/2019
4.1.0 36,772 5/5/2019
4.0.0 498,405 1/30/2019
4.0.0-rc1 22,204 11/19/2018
3.1.0 3,826,501 10/27/2017
3.0.1 320,649 10/8/2017
2.0.3 1,687,104 4/25/2017
2.0.1-rc 53,776 12/17/2016
2.0.0-rc 111,240 8/7/2016
1.10.0 1,617,423 3/22/2016
1.9.2 575,726 10/22/2015
1.9.1 103,162 9/30/2015
1.8.2 408,145 5/29/2015
1.8.1 376,694 12/26/2014
1.8.0 63,170 11/11/2014
1.7.2 295,445 3/4/2014
1.7.1 110,951 1/16/2014
1.7.0 25,618 1/3/2014
1.6.1 168,472 6/30/2013
1.6.0 56,457 4/19/2013
1.5.0 126,736 1/25/2013
1.4.3 43,051 8/15/2012
1.4.2 11,307 7/1/2012
1.4.1 996 6/28/2012
1.4.0 8,398 5/4/2012
1.3.0 30,382 11/22/2011
1.2.1 1,857 10/10/2011
1.2.0 1,457 9/29/2011
1.1.0 13,373 5/21/2011
1.0.0 18,049 5/17/2011
0.9.5 1,529 1/7/2011
0.9.0.34 4,509 1/7/2011