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 5,205 6/20/2024
8.2.0 2,089 4/10/2024
8.1.0 8,194 1/5/2024
8.0.1 163 12/26/2023
8.0.0 1,842 11/7/2023
7.4.0 35,135 4/23/2023
7.3.1 25,737 3/8/2022
7.3.0 5,514 1/17/2022
7.2.0 1,278 9/1/2021
7.1.0 610 6/7/2021
7.0.2 390 5/4/2021
7.0.1 381 3/30/2021
7.0.0 431 3/15/2021
6.2.1 8,409 9/2/2020
6.2.0 947 7/23/2020
6.1.0 8,355 6/8/2020
6.0.1 1,737 4/10/2020
6.0.0 1,307 1/17/2020
6.0.0-beta.1 295 12/19/2019
5.5.0 5,225 11/25/2019
5.4.1 558 11/14/2019
5.4.0 926 10/23/2019