FakeItEasy 2.0.0-beta011
See the version list below for details.
dotnet add package FakeItEasy --version 2.0.0-beta011
NuGet\Install-Package FakeItEasy -Version 2.0.0-beta011
<PackageReference Include="FakeItEasy" Version="2.0.0-beta011" />
paket add FakeItEasy --version 2.0.0-beta011
#r "nuget: FakeItEasy, 2.0.0-beta011"
// Install FakeItEasy as a Cake Addin
#addin nuget:?package=FakeItEasy&version=2.0.0-beta011&prerelease
// Install FakeItEasy as a Cake Tool
#tool nuget:?package=FakeItEasy&version=2.0.0-beta011&prerelease
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 | Versions 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. |
This package has no dependencies.
NuGet packages (160)
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. |
|
FakeXrmEasy.9
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
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 (86)
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.2.0 | 54,823 | 4/10/2024 |
8.1.0 | 732,960 | 1/5/2024 |
8.0.1 | 64,790 | 12/26/2023 |
8.0.0 | 445,950 | 11/7/2023 |
7.4.0 | 2,088,153 | 4/23/2023 |
7.3.1 | 5,921,042 | 3/8/2022 |
7.3.0 | 1,044,334 | 1/17/2022 |
7.2.0 | 2,059,861 | 9/1/2021 |
7.1.0 | 1,099,883 | 6/7/2021 |
7.0.2 | 425,223 | 5/4/2021 |
7.0.1 | 524,928 | 3/30/2021 |
7.0.0 | 277,776 | 3/15/2021 |
6.2.1 | 3,255,426 | 9/2/2020 |
6.2.0 | 590,012 | 7/23/2020 |
6.1.0 | 970,654 | 6/8/2020 |
6.0.1 | 822,786 | 4/10/2020 |
6.0.0 | 2,492,498 | 1/17/2020 |
5.5.0 | 1,573,666 | 11/25/2019 |
5.4.1 | 131,963 | 11/14/2019 |
5.4.0 | 300,139 | 10/23/2019 |
5.3.0 | 86,049 | 10/16/2019 |
5.2.0 | 632,637 | 9/5/2019 |
5.1.2 | 126,911 | 8/30/2019 |
5.1.1 | 1,465,293 | 4/15/2019 |
5.1.0 | 946,598 | 2/11/2019 |
5.0.1 | 247,771 | 1/14/2019 |
5.0.0 | 103,665 | 1/7/2019 |
4.9.2 | 250,496 | 12/13/2018 |
4.9.1 | 1,002,945 | 9/28/2018 |
4.9.0 | 684,295 | 9/27/2018 |
4.8.1 | 239,051 | 9/4/2018 |
4.8.0 | 265,532 | 8/8/2018 |
4.7.1 | 636,901 | 7/6/2018 |
4.7.0 | 27,840 | 7/3/2018 |
4.6.0 | 895,295 | 5/14/2018 |
4.5.1 | 629,049 | 2/28/2018 |
4.5.0 | 154,790 | 2/19/2018 |
4.4.0 | 132,558 | 2/6/2018 |
4.3.0 | 282,311 | 12/6/2017 |
4.2.0 | 224,231 | 11/8/2017 |
4.1.1 | 71,505 | 10/18/2017 |
4.1.0 | 94,048 | 10/10/2017 |
4.0.0 | 489,851 | 7/27/2017 |
3.4.2 | 217,804 | 6/19/2017 |
3.4.1 | 253,373 | 6/15/2017 |
3.3.2 | 171,791 | 5/4/2017 |
3.3.1 | 4,664 | 5/4/2017 |
3.3.0 | 5,743 | 5/4/2017 |
3.2.0 | 1,140,063 | 4/5/2017 |
3.1.0 | 94,606 | 3/10/2017 |
3.0.0 | 132,007 | 2/22/2017 |
2.3.3 | 186,894 | 1/18/2017 |
2.3.2 | 86,686 | 12/14/2016 |
2.3.1 | 315,275 | 9/30/2016 |
2.3.0 | 26,262 | 9/26/2016 |
2.2.0 | 192,004 | 7/14/2016 |
2.1.0 | 120,306 | 6/20/2016 |
2.0.0 | 209,590 | 5/25/2016 |
1.25.3 | 796,734 | 7/24/2015 |
1.24.0 | 92,982 | 8/25/2014 |
1.23.0 | 11,860 | 8/7/2014 |
1.22.0 | 53,493 | 6/17/2014 |
1.21.0 | 23,993 | 5/28/2014 |
1.20.0 | 11,062 | 5/6/2014 |
1.19.0 | 19,876 | 4/15/2014 |
1.18.0 | 95,390 | 3/5/2014 |
1.17.0 | 90,587 | 1/14/2014 |
1.16.0 | 5,929 | 1/9/2014 |
1.15.0 | 14,191 | 12/11/2013 |
1.14.0 | 30,469 | 10/24/2013 |
1.13.1 | 38,497 | 7/30/2013 |
1.12.0 | 19,085 | 5/27/2013 |
1.11.0 | 9,804 | 5/6/2013 |
1.10.0 | 12,385 | 3/28/2013 |
1.9.1 | 13,989 | 3/6/2013 |
1.8.0 | 38,762 | 2/12/2013 |
1.7.4626.65 | 34,340 | 8/31/2012 |
1.7.4582.63 | 10,824 | 7/18/2012 |
1.7.4574.62 | 4,889 | 7/10/2012 |
1.7.4507.61 | 11,610 | 5/4/2012 |
1.7.4257.42 | 21,232 | 8/28/2011 |
1.7.4166.27 | 12,748 | 5/29/2011 |
1.7.4117.2 | 6,425 | 4/10/2011 |
1.7.4109.1 | 276,065 | 4/2/2011 |
1.6.4075.221 | 7,404 | 3/1/2011 |
1.6.4062.205 | 6,941 | 2/14/2011 |
1.5.3970.199 | 7,679 | 1/7/2011 |
1.0.0.5 | 25,643 | 1/7/2011 |
# 2.0.0-beta011
* **Changed**: Removed `ConditionalWeakTable`, `InheritedExportAttribute`, `ImportManyAttribute`, and `Tuple` classes, as well as the
`Zip` and `FirstFromEachKey` enumerable extension methods - #565
* **Changed**: unconfigured get properties now return a Dummy, rather than trying to make a Fake first. This matches unconfigured methods' behaviour - #156
* **Changed**: renamed `IFakeOptionsBuilder` to `IFakeOptions` - #520
* **Changed**: replaced `IFakeConfigurator` with (new) `IFakeOptionsBuilder` for more powerful implicit configuration - #461
* **New**: Redefining a rule's behavior throws an informative error - #534
* **Fixed**: No longer attempting to load Bootstrapper from dynamic assemblies - #561
With special thanks for contributions to this release from:
* Igal Tabachnik - @hmemcpy
# 2.0.0-beta010
* **Changed**: fake creation options now have more predictable interactions - #467
* `WithAdditionalAttributes` stacks instead of overriding previous calls
* `Wrapping` overrides `CallsBaseMethods`, `Strict`, and `ConfigureFake`, on the principle of "last incompatible action in wins"
* **Changed**: dropped Silverlight, Windows8, Windows8.1 support - #507
* **New**: better threadsafety for `ArgumentValueFormatter ` - #500
* **New**: explicit error message when `IFakeOptionsBuilder.Implements` is passed a non-interface - #462
* **Fixed**: [Out] method parameters treated like `out` parameters, so methods can't be configured (fixed relative earlier 2.0.0 betas, but aligns functionality with FakeItEasy 1.25.3) - #508
With special thanks for contributions to this release from:
* Tim Lovell-Smith - @TimLovellSmith
* Jimmy Headdon - @jimmyheaddon
# 2.0.0-beta009
* **New**: Better threadsafety when using `That.Matches` or `Ignored` argument constraints - #476
* **Fixed**: NullReferenceException when trying to fake a non-virtual generic method method - #480
With special thanks for contributions to this release from:
* Thomas Levesque - @thomaslevesque
# 2.0.0-beta008
* **Fixed**: auto-property get followed by another get returns different object when property type is not fakeable - #312
* **New**: `Implements` now has a generic overload: `Implements<IAmAnInterface>()` - #470
With special thanks for contributions to this release from:
* Thomas Levesque - @thomaslevesque
# 2.0.0-beta007
* **Changed**: `IFakeOptionsBuilder.OnFakeCreated` is renamed to `ConfigureFake` - #454
* **Changed**: methods on faked classes may be configured before fake construction, and whether configured or not, behave the same when called from the constructor or not - #371
With special thanks for contributions to this release from:
* Ulich B - @ulrichb
# 2.0.0-beta006
* **Changed**: `IDummyDefinition` and `DummyDefinition<T>` have been replaced with `IDummyFactory` and `DummyFactory<T>` - #441
# 2.0.0-beta005
* **Fixed**: Cannot fake types implementing `IDisposable` - #440
With special thanks for contributions to this release from:
* @shortsn
# 2.0.0-beta004
* **Changed**: Removed FakeItEasy.ExtensionSyntax namespace, which provided fake.Configure().CallsTo(...), fake.CallsTo(...) - #410
* **Changed**: Removed IFakeObjectCallRuleWithDescription - #410
* **Changed**: Removed Equals and ReferenceEquals static methods from A and Fake - #425
* **Changed**: Removed ArgumentCollection's Empty method and made constructors internal - #428
* **Changed**: Made TypeCatalogue, ITypeCatalogue internal - #428
* **Changed**: Made FakeManager's constructor and Factory delegate internal - #428
* **Changed**: Made ICallCollectionAndCallMatcherAccessor, ICallMatcher, ICallMatcherAccessor internal - #428
* **Changed**: Made ProxyGeneratorResult internal - #428
* **Changed**: Moved ArgumentCollection, IRepeatSpecification, Raise<T> to FakeItEasy.Configuration namespace - #432
# 2.0.0-beta003
* **Changed**: IDummyDefinition and IFakeConfgurator have more flexibility in creating/configuring subject types, and include new Priority property - #402
# 2.0.0-beta002
* **New**: Default support for Lazy<T> Dummies - #358
With special thanks for contributions to this release from:
* Christian Merat - @cmerat
# 2.0.0-beta001
* **New**: Can now raise events of arbitrary delegate type - #30
* **Fixed**: Bad exception thrown when fake's base's constructor fails - #367
* **Changed**: Now and Go, formerly used when raising events, have been removed - #30
* **Changed**: Raising custom event handler event requires typeparam - #30
* **Changed**: Passing null sender to Raise.With now raises event with null sender - #395
* **Changed**: Removed obsolete Any and Configure types - #408
With special thanks for contributions to this release from:
* Matthias Koch - @matkoch
* Raph - @galaktor