FakeItEasy 7.3.1

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
dotnet add package FakeItEasy --version 7.3.1
NuGet\Install-Package FakeItEasy -Version 7.3.1
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.
<PackageReference Include="FakeItEasy" Version="7.3.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FakeItEasy --version 7.3.1
#r "nuget: FakeItEasy, 7.3.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install FakeItEasy as a Cake Addin
#addin nuget:?package=FakeItEasy&version=7.3.1

// Install FakeItEasy as a Cake Tool
#tool nuget:?package=FakeItEasy&version=7.3.1

It's faking amazing! The easy mocking library for .NET that works great in C# and VB.NET alike. No need to know the difference between a stub, a mock or a spy, everything's a fake! The easy to use, refactoring friendly API makes faking a breeze.

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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen 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 (154)

Showing the top 5 NuGet packages that depend on FakeItEasy:

Package Downloads
AutoFixture.AutoFakeItEasy The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This extension turns AutoFixture into an Auto-Mocking Container. The mock instances are created by FakeItEasy. To use it, add the AutoFakeItEasyCustomization to your Fixture instance.

FakeXrmEasy.9 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Utilities to streamline unit testing in Dynamics CRM 365 by faking the IOrganizationService against an In-Memory context which runs blazing fast.

Autofac.Extras.FakeItEasy The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Autofac extension supporting generation of FakeItEasy objects.

MockQueryable.FakeItEasy

Extension for mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc. When writing tests for your application it is often desirable to avoid hitting the database. The extension allows you to achieve this by creating a context – with behavior defined by your tests – that makes use of in-memory data.

FakeXrmEasy.365 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Utilities to streamline unit testing in Dynamics CRM 365 by faking the IOrganizationService against an In-Memory context which runs blazing fast.

GitHub repositories (76)

Showing the top 5 popular GitHub repositories that depend on FakeItEasy:

Repository Stars
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
quartznet/quartznet
Quartz Enterprise Scheduler .NET
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
JanKallman/EPPlus
Create advanced Excel spreadsheets using .NET
AutoFixture/AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
Version Downloads Last updated
7.3.1 2,658,024 3/8/2022
7.3.0 683,539 1/17/2022
7.2.0 1,638,970 9/1/2021
7.1.0 836,484 6/7/2021
7.0.2 330,478 5/4/2021
7.0.1 438,750 3/30/2021
7.0.0 209,065 3/15/2021
6.2.1 2,521,209 9/2/2020
6.2.0 502,575 7/23/2020
6.1.0 830,433 6/8/2020
6.0.1 670,537 4/10/2020
6.0.0 1,758,434 1/17/2020
5.5.0 1,220,212 11/25/2019
5.4.1 117,786 11/14/2019
5.4.0 255,063 10/23/2019
5.3.0 65,071 10/16/2019
5.2.0 540,486 9/5/2019
5.1.2 107,163 8/30/2019
5.1.1 1,197,489 4/15/2019
5.1.0 775,936 2/11/2019
5.0.1 222,552 1/14/2019
5.0.0 94,828 1/7/2019
4.9.2 206,338 12/13/2018
4.9.1 907,779 9/28/2018
4.9.0 400,792 9/27/2018
4.8.1 215,639 9/4/2018
4.8.0 223,097 8/8/2018
4.7.1 485,316 7/6/2018
4.7.0 25,526 7/3/2018
4.6.0 789,084 5/14/2018
4.5.1 545,690 2/28/2018
4.5.0 143,644 2/19/2018
4.4.0 120,954 2/6/2018
4.3.0 253,050 12/6/2017
4.2.0 195,444 11/8/2017
4.1.1 63,995 10/18/2017
4.1.0 81,111 10/10/2017
4.0.0 427,902 7/27/2017
3.4.2 192,662 6/19/2017
3.4.1 161,020 6/15/2017
3.3.2 149,933 5/4/2017
3.3.1 3,453 5/4/2017
3.3.0 3,682 5/4/2017
3.2.0 954,918 4/5/2017
3.1.0 80,831 3/10/2017
3.0.0 113,002 2/22/2017
2.3.3 143,482 1/18/2017
2.3.2 79,914 12/14/2016
2.3.1 289,869 9/30/2016
2.3.0 23,212 9/26/2016
2.2.0 169,869 7/14/2016
2.1.0 116,784 6/20/2016
2.0.0 200,517 5/25/2016
1.25.3 737,423 7/24/2015
1.24.0 79,714 8/25/2014
1.23.0 10,283 8/7/2014
1.22.0 45,161 6/17/2014
1.21.0 16,983 5/28/2014
1.20.0 9,490 5/6/2014
1.19.0 18,070 4/15/2014
1.18.0 85,916 3/5/2014
1.17.0 76,312 1/14/2014
1.16.0 4,786 1/9/2014
1.15.0 12,435 12/11/2013
1.14.0 27,243 10/24/2013
1.13.1 34,236 7/30/2013
1.12.0 16,526 5/27/2013
1.11.0 8,319 5/6/2013
1.10.0 10,411 3/28/2013
1.9.1 9,335 3/6/2013
1.8.0 33,198 2/12/2013
1.7.4626.65 29,786 8/31/2012
1.7.4582.63 8,989 7/18/2012
1.7.4574.62 3,562 7/10/2012
1.7.4507.61 10,099 5/4/2012
1.7.4257.42 17,471 8/28/2011
1.7.4166.27 10,004 5/29/2011
1.7.4117.2 4,566 4/10/2011
1.7.4109.1 100,138 4/2/2011
1.6.4075.221 5,397 3/1/2011
1.6.4062.205 4,675 2/14/2011
1.5.3970.199 6,463 1/7/2011
1.0.0.5 18,467 1/7/2011