FakeItEasy 1.8.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package FakeItEasy --version 1.8.0
NuGet\Install-Package FakeItEasy -Version 1.8.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.
<PackageReference Include="FakeItEasy" Version="1.8.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FakeItEasy --version 1.8.0
#r "nuget: FakeItEasy, 1.8.0"
#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=1.8.0

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

It's faking amazing! The easy mocking framework 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 Compatible and additional computed target framework versions.
.NET Framework net35 is compatible.  net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Silverlight sl4 is compatible.  sl5 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (160)

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.

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.

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.

OBeautifulCode.AutoFakeItEasy

Makes FakeItEasy Dummies useful by wiring-them-up to real-looking, random test data. Leverages the power of AutoFixture to create anonymous variables. Fixes some of AutoFixture's poor default behaviors. Makes unit tests more expressive with less lines of code.

GitHub repositories (85)

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
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 6 and newer.
JanKallman/EPPlus
Create advanced Excel spreadsheets using .NET
Version Downloads Last updated
8.1.0 503,511 1/5/2024
8.0.1 57,677 12/26/2023
8.0.0 397,609 11/7/2023
7.4.0 1,953,873 4/23/2023
7.3.1 5,736,358 3/8/2022
7.3.0 1,021,032 1/17/2022
7.2.0 2,033,869 9/1/2021
7.1.0 1,080,605 6/7/2021
7.0.2 414,777 5/4/2021
7.0.1 519,221 3/30/2021
7.0.0 272,395 3/15/2021
6.2.1 3,202,708 9/2/2020
6.2.0 584,846 7/23/2020
6.1.0 958,758 6/8/2020
6.0.1 815,006 4/10/2020
6.0.0 2,436,105 1/17/2020
5.5.0 1,547,305 11/25/2019
5.4.1 131,226 11/14/2019
5.4.0 297,932 10/23/2019
5.3.0 84,247 10/16/2019
5.2.0 627,337 9/5/2019
5.1.2 126,299 8/30/2019
5.1.1 1,445,270 4/15/2019
5.1.0 932,894 2/11/2019
5.0.1 245,566 1/14/2019
5.0.0 102,960 1/7/2019
4.9.2 248,235 12/13/2018
4.9.1 996,468 9/28/2018
4.9.0 660,059 9/27/2018
4.8.1 237,286 9/4/2018
4.8.0 263,662 8/8/2018
4.7.1 625,737 7/6/2018
4.7.0 27,765 7/3/2018
4.6.0 886,414 5/14/2018
4.5.1 624,313 2/28/2018
4.5.0 154,232 2/19/2018
4.4.0 132,000 2/6/2018
4.3.0 280,112 12/6/2017
4.2.0 222,345 11/8/2017
4.1.1 70,982 10/18/2017
4.1.0 93,288 10/10/2017
4.0.0 485,332 7/27/2017
3.4.2 215,771 6/19/2017
3.4.1 247,427 6/15/2017
3.3.2 168,901 5/4/2017
3.3.1 4,617 5/4/2017
3.3.0 5,633 5/4/2017
3.2.0 1,129,431 4/5/2017
3.1.0 93,766 3/10/2017
3.0.0 130,546 2/22/2017
2.3.3 184,866 1/18/2017
2.3.2 86,130 12/14/2016
2.3.1 313,604 9/30/2016
2.3.0 26,091 9/26/2016
2.2.0 190,354 7/14/2016
2.1.0 120,151 6/20/2016
2.0.0 208,845 5/25/2016
1.25.3 793,531 7/24/2015
1.24.0 91,691 8/25/2014
1.23.0 11,794 8/7/2014
1.22.0 52,942 6/17/2014
1.21.0 23,486 5/28/2014
1.20.0 11,008 5/6/2014
1.19.0 19,805 4/15/2014
1.18.0 94,251 3/5/2014
1.17.0 89,259 1/14/2014
1.16.0 5,885 1/9/2014
1.15.0 14,114 12/11/2013
1.14.0 30,284 10/24/2013
1.13.1 38,266 7/30/2013
1.12.0 19,033 5/27/2013
1.11.0 9,748 5/6/2013
1.10.0 12,295 3/28/2013
1.9.1 13,942 3/6/2013
1.8.0 38,608 2/12/2013
1.7.4626.65 33,952 8/31/2012
1.7.4582.63 10,772 7/18/2012
1.7.4574.62 4,850 7/10/2012
1.7.4507.61 11,568 5/4/2012
1.7.4257.42 21,044 8/28/2011
1.7.4166.27 12,709 5/29/2011
1.7.4117.2 6,388 4/10/2011
1.7.4109.1 264,771 4/2/2011
1.6.4075.221 7,367 3/1/2011
1.6.4062.205 6,900 2/14/2011
1.5.3970.199 7,638 1/7/2011
1.0.0.5 24,868 1/7/2011

Enhancement: Support argument matching in Throws (similar to ReturnsLazily and Invokes) (https://github.com/FakeItEasy/FakeItEasy/issues/21/)
Fixed: Incorrect exception message when ReturnLazily signature does not match (https://github.com/FakeItEasy/FakeItEasy/issues/41/)
Other: Drop support for Silverlight 3 (https://github.com/FakeItEasy/FakeItEasy/issues/34/)
Other: Adopt Semantic Versioning 2.0.0-rc.1 (https://github.com/FakeItEasy/FakeItEasy/issues/37/)