FakeItEasy 7.3.1

.NET 5.0 .NET Standard 2.0 .NET Framework 4.5
Install-Package FakeItEasy -Version 7.3.1
dotnet add package FakeItEasy --version 7.3.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FakeItEasy, 7.3.1"
#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 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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
.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
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 (142)

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 (69)

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 637,843 3/8/2022
7.3.0 391,581 1/17/2022
7.2.0 1,219,932 9/1/2021
7.1.0 673,230 6/7/2021
7.0.2 282,065 5/4/2021
7.0.1 371,191 3/30/2021
7.0.0 166,340 3/15/2021
6.2.1 2,138,545 9/2/2020
6.2.0 444,240 7/23/2020
6.1.0 687,831 6/8/2020
6.0.1 583,056 4/10/2020
6.0.0 1,361,635 1/17/2020
5.5.0 1,017,647 11/25/2019
5.4.1 107,135 11/14/2019
5.4.0 223,819 10/23/2019
5.3.0 55,996 10/16/2019
5.2.0 480,518 9/5/2019
5.1.2 97,473 8/30/2019
5.1.1 1,070,526 4/15/2019
5.1.0 698,968 2/11/2019
5.0.1 212,879 1/14/2019
5.0.0 88,532 1/7/2019
4.9.2 175,051 12/13/2018
4.9.1 843,472 9/28/2018
4.9.0 281,668 9/27/2018
4.8.1 200,093 9/4/2018
4.8.0 201,117 8/8/2018
4.7.1 405,872 7/6/2018
4.7.0 24,706 7/3/2018
4.6.0 743,482 5/14/2018
4.5.1 489,319 2/28/2018
4.5.0 135,192 2/19/2018
4.4.0 115,642 2/6/2018
4.3.0 238,148 12/6/2017
4.2.0 180,548 11/8/2017
4.1.1 61,449 10/18/2017
4.1.0 72,480 10/10/2017
4.0.0 399,443 7/27/2017
3.4.2 180,281 6/19/2017
3.4.1 128,422 6/15/2017
3.3.2 139,801 5/4/2017
3.3.1 3,313 5/4/2017
3.3.0 3,514 5/4/2017
3.2.0 854,137 4/5/2017
3.1.0 73,007 3/10/2017
3.0.0 108,761 2/22/2017
2.3.3 122,355 1/18/2017
2.3.2 77,485 12/14/2016
2.3.1 278,769 9/30/2016
2.3.0 22,224 9/26/2016
2.2.0 161,234 7/14/2016
2.1.0 115,152 6/20/2016
2.0.0 195,551 5/25/2016
1.25.3 693,420 7/24/2015
1.24.0 73,520 8/25/2014
1.23.0 9,903 8/7/2014
1.22.0 42,280 6/17/2014
1.21.0 14,873 5/28/2014
1.20.0 9,021 5/6/2014
1.19.0 17,654 4/15/2014
1.18.0 78,973 3/5/2014
1.17.0 68,858 1/14/2014
1.16.0 4,614 1/9/2014
1.15.0 12,062 12/11/2013
1.14.0 25,314 10/24/2013
1.13.1 32,660 7/30/2013
1.12.0 15,973 5/27/2013
1.11.0 7,977 5/6/2013
1.10.0 9,748 3/28/2013
1.9.1 8,118 3/6/2013
1.8.0 31,046 2/12/2013
1.7.4626.65 27,361 8/31/2012
1.7.4582.63 8,273 7/18/2012
1.7.4574.62 3,326 7/10/2012
1.7.4507.61 9,743 5/4/2012
1.7.4257.42 15,990 8/28/2011
1.7.4166.27 8,494 5/29/2011
1.7.4117.2 4,092 4/10/2011
1.7.4109.1 73,666 4/2/2011
1.6.4075.221 4,650 3/1/2011
1.6.4062.205 4,028 2/14/2011
1.5.3970.199 6,269 1/7/2011
1.0.0.5 15,355 1/7/2011