FakeItEasy.Extensions.ValueTask
8.2.0
dotnet add package FakeItEasy.Extensions.ValueTask --version 8.2.0
NuGet\Install-Package FakeItEasy.Extensions.ValueTask -Version 8.2.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.2.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.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FakeItEasy.Extensions.ValueTask, 8.2.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.2.0
// Install FakeItEasy.Extensions.ValueTask as a Cake Tool
#tool nuget:?package=FakeItEasy.Extensions.ValueTask&version=8.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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
- Website
- Quickstart
- Documentation
- Chat
- NuGet packages on NuGet.org, targeting:
- .NET Framework 4.6.2
- .NET Standard 2.0
- .NET Standard 2.1
- .NET 6.0
FakeItEasy logo designed by Vanja Pakaski.
Product | Versions 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.
-
.NETFramework 4.6.2
- FakeItEasy (>= 8.2.0)
- System.Threading.Tasks.Extensions (>= 4.5.3)
-
.NETStandard 2.0
- FakeItEasy (>= 8.2.0)
- System.Threading.Tasks.Extensions (>= 4.5.3)
-
.NETStandard 2.1
- FakeItEasy (>= 8.2.0)
-
net6.0
- FakeItEasy (>= 8.2.0)
-
net8.0
- FakeItEasy (>= 8.2.0)
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.2.0 | 90 | 4/10/2024 |
8.1.0 | 2,373 | 1/5/2024 |
8.0.1 | 104 | 12/26/2023 |
8.0.0 | 1,662 | 11/7/2023 |
7.4.0 | 22,073 | 4/23/2023 |
7.3.1 | 24,122 | 3/8/2022 |
7.3.0 | 5,457 | 1/17/2022 |
7.2.0 | 1,251 | 9/1/2021 |
7.1.0 | 579 | 6/7/2021 |
7.0.2 | 362 | 5/4/2021 |
7.0.1 | 342 | 3/30/2021 |
7.0.0 | 399 | 3/15/2021 |
6.2.1 | 6,543 | 9/2/2020 |
6.2.0 | 834 | 7/23/2020 |
6.1.0 | 8,023 | 6/8/2020 |
6.0.1 | 1,472 | 4/10/2020 |
6.0.0 | 1,284 | 1/17/2020 |
6.0.0-beta.1 | 282 | 12/19/2019 |
5.5.0 | 2,450 | 11/25/2019 |
5.4.1 | 529 | 11/14/2019 |
5.4.0 | 892 | 10/23/2019 |