AutoFixture with Auto Mocking using NSubstitute NuGet Package

This extension turns AutoFixture into an Auto-Mocking Container.

The mock instances are created by NSubstitute. To use it, add the AutoNSubstituteCustomization to your Fixture instance.




Got any AutoFixture with Auto Mocking using NSubstitute Question?





Info

Version: 5.0.0-preview0011
Author(s): Daniel Hilgarth, Alex Povar, AutoFixture
Last Update: Monday, April 15, 2024
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/AutoFixture/AutoFixture
NuGet Url: https://www.nuget.org/packages/AutoFixture.AutoNSubstitute


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

.NETStandard 2.0 net452 netstandard1.5 19 packages depend on this package.




STATS

must-have-score

6.5

avg-downloads-per-day

2771

days-since-last-release

204