FakeItEasy.Extensions.ValueTask 8.3.0

dotnet add package FakeItEasy.Extensions.ValueTask --version 8.3.0                
NuGet\Install-Package FakeItEasy.Extensions.ValueTask -Version 8.3.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.Extensions.ValueTask" Version="8.3.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FakeItEasy.Extensions.ValueTask --version 8.3.0                
#r "nuget: FakeItEasy.Extensions.ValueTask, 8.3.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.Extensions.ValueTask as a Cake Addin
#addin nuget:?package=FakeItEasy.Extensions.ValueTask&version=8.3.0

// Install FakeItEasy.Extensions.ValueTask as a Cake Tool
#tool nuget:?package=FakeItEasy.Extensions.ValueTask&version=8.3.0                

Are you mocking me?

NuGet version Build status

A .NET dynamic fake library for creating all types of fake objects, mocks, stubs etc.

  • Easier semantics, all fake objects are just that - fakes - the use of the fakes determines whether they're mocks or stubs.
  • Context-aware fluent interface guides the developer.
  • Designed for ease of use.
  • Full compatibility with both C# and VB.Net.

Faking amazing example

// 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();

Resources


FakeItEasy logo designed by Vanja Pakaski.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.3.0 6,084 6/20/2024
8.2.0 2,095 4/10/2024
8.1.0 8,278 1/5/2024
8.0.1 165 12/26/2023
8.0.0 1,846 11/7/2023
7.4.0 36,164 4/23/2023
7.3.1 25,763 3/8/2022
7.3.0 5,518 1/17/2022
7.2.0 1,282 9/1/2021
7.1.0 614 6/7/2021
7.0.2 394 5/4/2021
7.0.1 386 3/30/2021
7.0.0 436 3/15/2021
6.2.1 8,520 9/2/2020
6.2.0 951 7/23/2020
6.1.0 8,360 6/8/2020
6.0.1 1,745 4/10/2020
6.0.0 1,311 1/17/2020
6.0.0-beta.1 297 12/19/2019
5.5.0 5,596 11/25/2019
5.4.1 562 11/14/2019
5.4.0 930 10/23/2019