![]() |
VOOZH | about |
dotnet add package FakeItEasy --version 9.0.1
NuGet\Install-Package FakeItEasy -Version 9.0.1
<PackageReference Include="FakeItEasy" Version="9.0.1" />
<PackageVersion Include="FakeItEasy" Version="9.0.1" />Directory.Packages.props
<PackageReference Include="FakeItEasy" />Project file
paket add FakeItEasy --version 9.0.1
#r "nuget: FakeItEasy, 9.0.1"
#:package FakeItEasy@9.0.1
#addin nuget:?package=FakeItEasy&version=9.0.1Install as a Cake Addin
#tool nuget:?package=FakeItEasy&version=9.0.1Install as a Cake Tool
👁 NuGet version
👁 Build status
A .NET dynamic fake library for creating all types of fake objects, mocks, stubs etc.
// Creating a fake object is very easy!
// No mocks, or stubs; everything's a fake.
var shop = A.Fake<ICandyShop>();
// Easily set up a call to return a value.
var lollipop = new Lollipop();
A.CallTo(() => shop.GetTopSellingCandy()).Returns(lollipop);
// Exercise your system under test by using the fake as you
// would an instance of the faked type.
var customer = new SweetTooth();
customer.BuyTastiestCandy(shop);
// Asserting uses the same syntax as configuring calls.
A.CallTo(() => shop.BuyCandy(lollipop)).MustHaveHappened();
FakeItEasy logo designed by Vanja Pakaski.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Framework | net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
Showing the top 5 NuGet packages that depend on FakeItEasy:
| Package | Downloads |
|---|---|
|
AutoFixture.AutoFakeItEasy
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. |
|
|
MockQueryable.FakeItEasy
Core package for MockQueryable extensions for mocking 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.9
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
Autofac extension supporting generation of FakeItEasy objects. |
|
|
FakeXrmEasy.Core.v9
FakeXrmEasy is the open source test automation framework for .net core and the Power Platform. This is the core package containing a configurable middleware, crud operators, and query translation between FetchXml, QueryExpression, CRM LINQ, and QueryByAttribute. |
Showing the top 20 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
|
|
|
FastEndpoints/FastEndpoints
A light-weight REST API development framework for ASP.NET 8 and newer.
|
|
|
danielgerlag/workflow-core
Lightweight workflow engine for .NET Standard
|
|
|
dotnet/msbuild
The Microsoft Build Engine (MSBuild) is the build platform for .NET and Visual Studio.
|
|
|
dlemstra/Magick.NET
The .NET library for ImageMagick
|
|
|
thomhurst/TUnit
A modern, fast and flexible .NET testing framework
|
|
|
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.
|
|
|
hirschmann/nbfc
NoteBook FanControl
|
|
|
dotnet/sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
|
|
|
aaubry/YamlDotNet
YamlDotNet is a .NET library for YAML
|
|
|
Squidex/squidex
Headless CMS and Content Managment Hub
|
|
|
BrighterCommand/Brighter
A framework for building messaging apps with .NET and C#.
|
|
|
ButchersBoy/Dragablz
Dragable and tearable tab control for WPF
|
|
|
dotnetcore/Magicodes.IE
Import and export general library, support Dto import and export, template export, fancy export and dynamic export, support Excel, Csv, Word, Pdf and Html.
|
|
|
dotnetcore/EasyCaching
:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
|
|
|
EPPlusSoftware/EPPlus
EPPlus-Excel spreadsheets for .NET
|
|
|
microsoft/PowerApps-Samples
Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.
|
|
|
jbogard/ContosoUniversityDotNetCore-Pages
With Razor Pages
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.1 | 1,700,954 | 1/24/2026 |
| 9.0.0 | 284,183 | 1/8/2026 |
| 8.3.0 | 13,020,160 | 6/20/2024 |
| 8.2.0 | 1,969,593 | 4/10/2024 |
| 8.1.0 | 2,563,329 | 1/5/2024 |
| 8.0.1 | 146,662 | 12/26/2023 |
| 8.0.0 | 1,025,618 | 11/7/2023 |
| 7.4.0 | 3,933,372 | 4/23/2023 |
| 7.3.1 | 8,696,131 | 3/8/2022 |
| 7.3.0 | 1,489,401 | 1/17/2022 |
| 7.2.0 | 2,557,991 | 9/1/2021 |
| 7.1.0 | 1,521,296 | 6/7/2021 |
| 7.0.2 | 541,177 | 5/4/2021 |
| 7.0.1 | 640,666 | 3/30/2021 |
| 7.0.0 | 462,064 | 3/15/2021 |