NSubstitute NuGet Package

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.




Got any NSubstitute Question?





Info

Version: 5.3.0
Author(s): Anthony Egerton, David Tchepak, Alexandr Nikitin, Alex Povar
Last Update: Monday, October 28, 2024
.NET Fiddle: Online Example
Project Url: https://nsubstitute.github.io/
NuGet Url: https://www.nuget.org/packages/NSubstitute


Install
Install-Package NSubstitute
dotnet add package NSubstitute
paket add NSubstitute
NSubstitute Download (Unzip the "nupkg" after downloading)

.NETFramework 4.5 .NETStandard 1.3 .NETStandard 2.0 net46 144 packages depend on this package.


Tags



STATS

must-have-score

5.3

avg-downloads-per-day

27965

days-since-last-release

24