AutoFixture.AutoNSubstitute 4.17.0

.NET Standard 1.5 .NET Framework 4.5.2
NuGet\Install-Package AutoFixture.AutoNSubstitute -Version 4.17.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
dotnet add package AutoFixture.AutoNSubstitute --version 4.17.0
<PackageReference Include="AutoFixture.AutoNSubstitute" Version="4.17.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AutoFixture.AutoNSubstitute --version 4.17.0
#r "nuget: AutoFixture.AutoNSubstitute, 4.17.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AutoFixture.AutoNSubstitute as a Cake Addin
#addin nuget:?package=AutoFixture.AutoNSubstitute&version=4.17.0

// Install AutoFixture.AutoNSubstitute as a Cake Tool
#tool nuget:?package=AutoFixture.AutoNSubstitute&version=4.17.0

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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (24)

Showing the top 5 NuGet packages that depend on AutoFixture.AutoNSubstitute:

Package Downloads
Nirvana.TestFramework

Glue for .NET and Web applications

Sitecore.Diagnostics.FileSystem.TestingHelpers

A set of pre-built mocks to help when testing file system interactions.

Atc.Test

Common tools for writing tests using XUnit, AutoFixture, NSubstitute and FluentAssertions.

Objectivity.AutoFixture.XUnit2.AutoNSubstitute

Accelerates preparation of mocked structures for unit tests under xUnit2 by configuring AutoFixture data generation to use NSubstitute. Gracefully handles recursive structures by omitting recursions.

DansCSharpTestingBundle.XUnit.NSubstitue

A simple nuget package that just includes other nuget packages I use to make XUnit tests.

GitHub repositories (11)

Showing the top 5 popular GitHub repositories that depend on AutoFixture.AutoNSubstitute:

Repository Stars
bitwarden/server
The core infrastructure backend (API, database, Docker, etc).
bitwarden/mobile
The mobile app vault (iOS and Android).
vivet/GoogleApi
C# .NET Core Google Api (Maps, Places, Roads, Search, Translate). Supports all endpoints and requests / responses.
SitecoreUnicorn/Unicorn
A Sitecore utility designed to simplify deployment of Sitecore items across environments automatically
recyclarr/recyclarr
Automatically sync TRaSH guides to your Sonarr and Radarr instances.
Version Downloads Last updated
4.17.0 1,313,229 4/20/2021
4.16.0 58,792 4/1/2021
4.15.0 410,380 12/18/2020
4.14.0 332,312 9/10/2020
4.13.0 188,785 7/9/2020
4.12.0 59,586 6/28/2020
4.11.0 1,126,371 7/8/2019
4.10.0 53,029 6/13/2019
4.9.0 47,706 5/28/2019
4.8.0 385,114 1/30/2019
4.7.0 51,335 1/26/2019
4.6.0 82,175 12/10/2018
4.5.1 55,444 11/25/2018
4.5.0 321,692 7/12/2018
4.4.0 104,706 5/26/2018
4.3.0 58,724 5/2/2018
4.2.1 36,649 4/16/2018
4.2.0 42,867 3/21/2018
4.1.0 41,821 2/15/2018
4.0.1 20,167 1/22/2018
4.0.0 16,734 1/10/2018
4.0.0-rc1 11,592 10/18/2017
3.51.0 305,864 10/5/2017
3.50.7 44,213 9/18/2017
3.50.6 24,385 8/16/2017
3.50.5 24,358 8/9/2017
3.50.4 1,177 8/7/2017
3.50.3 163,173 7/5/2017
3.50.2 335,295 8/31/2016
3.50.1 8,176 8/12/2016
3.50.0 8,304 8/11/2016
3.49.1 21,613 8/3/2016
3.49.0 69,095 7/5/2016
3.48.0 2,458 6/28/2016
3.47.8 2,357 6/19/2016
3.47.7 1,090 6/18/2016
3.47.6 2,320 6/13/2016
3.47.5 1,353 6/11/2016
3.47.4 10,247 6/3/2016
3.47.3 17,656 6/2/2016
3.47.2 3,577 6/2/2016
3.47.1 17,362 6/1/2016
3.47.0 1,160 5/31/2016
3.46.0 19,876 5/15/2016
3.45.3 1,511 5/12/2016
3.45.2 5,244 5/7/2016
3.45.1 7,948 4/25/2016
3.45.0 1,167 4/24/2016
3.44.1 2,641 4/20/2016
3.44.0 1,843 4/15/2016
3.43.4 1,058 4/14/2016
3.43.3 968 4/13/2016
3.43.2 1,053 4/12/2016
3.43.1 1,082 4/10/2016
3.43.0 2,619 3/28/2016
3.42.0 3,756 3/20/2016
3.41.1 3,955 3/13/2016
3.41.0 952 3/12/2016
3.40.0 16,000 2/2/2016
3.39.0 2,360 1/22/2016
3.38.1 20,368 1/3/2016
3.38.0 1,038 12/31/2015
3.37.3 21,119 12/8/2015
3.37.2 996 12/8/2015
3.37.1 2,033 12/3/2015
3.37.0 2,347 11/25/2015
3.36.12 7,450 11/20/2015
3.36.11 4,969 11/16/2015
3.36.9 96,200 10/21/2015
3.36.8 1,972 10/8/2015
3.36.6 1,338 10/7/2015
3.36.1 1,440 10/6/2015
3.36.0 1,523 10/2/2015
3.35.1 1,180 10/2/2015
3.34.2 1,995 9/16/2015
3.34.1 1,070 9/16/2015
3.34.0 1,499 9/12/2015
3.33.0 1,820 9/5/2015
3.32.2 1,061 9/5/2015
3.32.0 1,448 9/5/2015
3.31.1 4,166 8/2/2015
3.31.0 1,354 7/31/2015
3.30.8 58,738 6/17/2015
3.30.7 1,114 6/14/2015
3.30.6 2,014 6/5/2015
3.30.4 3,369 4/29/2015
3.30.3 6,311 4/19/2015
3.30.2 1,797 4/11/2015
3.30.1 1,129 4/10/2015
3.30.0 1,408 4/9/2015
3.29.0 1,063 4/9/2015
3.27.0 1,215 4/8/2015
3.25.0 1,104 4/8/2015
3.24.6 1,170 4/7/2015
3.24.5 1,072 4/6/2015
3.24.4 1,112 4/4/2015
3.24.3 2,964 3/12/2015
3.24.2 1,415 3/7/2015
3.24.1 1,663 2/28/2015
3.24.0 2,204 2/19/2015
3.23.2 1,451 2/18/2015
3.23.1 3,960 2/4/2015
3.23.0 1,497 1/27/2015
3.22.0 3,663 12/21/2014
3.21.1 3,802 11/13/2014
3.21.0 2,787 10/20/2014
3.20.4 1,225 10/15/2014
3.20.2 2,354 9/16/2014
3.20.1 1,480 9/7/2014
3.20.0 4,210 8/20/2014
3.19.2 1,774 8/5/2014
3.19.1 2,040 6/19/2014
3.19.0 1,738 6/12/2014
3.18.10 1,372 6/5/2014
3.18.9 1,235 6/1/2014
3.18.8 2,365 5/24/2014
3.18.7 1,407 5/17/2014
3.18.6 1,670 5/6/2014
3.18.5 1,433 4/25/2014
3.18.4 3,060 4/24/2014
3.18.3 1,910 4/13/2014
3.18.2 1,457 4/12/2014
3.18.1 1,515 3/29/2014
3.18.0 1,448 3/23/2014
3.17.0 1,221 3/15/2014
3.16.10 1,284 3/10/2014
3.16.9 1,107 3/9/2014
3.16.8 1,188 3/9/2014
3.16.7 1,125 3/8/2014
3.16.6 9,781 3/2/2014
3.16.5 3,737 1/31/2014
3.16.4 1,864 1/2/2014
3.16.3 3,171 12/22/2013
3.16.2 1,096 12/21/2013
3.16.1 1,344 12/5/2013
3.16.0 2,771 11/30/2013
3.15.1 1,199 11/26/2013
3.15.0 1,174 11/24/2013
3.14.0 1,157 11/23/2013
3.13.0 1,510 11/6/2013
3.12.1 1,223 10/20/2013
3.12.0 1,192 10/15/2013
3.11.0 1,151 10/13/2013
3.10.1 1,176 10/9/2013
3.10.0 1,120 10/8/2013
3.9.1 1,328 10/2/2013
3.9.0 1,436 9/24/2013
3.8.1 1,207 9/23/2013
3.8.0 1,153 9/22/2013
3.7.0 1,218 9/19/2013
3.6.8 1,327 9/6/2013
3.6.7 1,213 8/31/2013
3.6.6 11,709 8/1/2013
3.6.5 1,256 7/22/2013
3.6.3 1,485 7/14/2013
3.6.2 1,321 7/13/2013
3.6.1 1,462 7/11/2013
3.6.0 1,366 7/9/2013
3.5.1 1,431 7/2/2013
3.5.0 1,355 7/1/2013
3.4.1 1,441 6/27/2013
3.4.0 1,312 6/24/2013
3.3.0 1,292 6/23/2013
3.2.1 12,803 6/3/2013
3.2.0 1,267 6/1/2013
3.1.0 1,401 5/26/2013
3.0.9 1,359 5/15/2013
3.0.8 12,678 4/9/2013
3.0.7 1,223 4/6/2013
3.0.6 1,217 4/4/2013
3.0.5 1,178 4/2/2013
3.0.3 1,269 3/16/2013
3.0.2 1,226 3/5/2013
3.0.1 1,240 3/1/2013
2.16.2 2,469 1/27/2013
2.16.1 1,231 1/10/2013
2.16.0 2,403 1/6/2013