FlUnit.Abstractions
5.0.0
dotnet add package FlUnit.Abstractions --version 5.0.0
NuGet\Install-Package FlUnit.Abstractions -Version 5.0.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="FlUnit.Abstractions" Version="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FlUnit.Abstractions --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FlUnit.Abstractions, 5.0.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 FlUnit.Abstractions as a Cake Addin #addin nuget:?package=FlUnit.Abstractions&version=5.0.0 // Install FlUnit.Abstractions as a Cake Tool #tool nuget:?package=FlUnit.Abstractions&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FlUnit - Abstractions
This package contains abstractions shared between the core FlUnit library and test platform adapters. FlUnit is a test framework in which tests are written using builders that expose a fluent interface, like this:
public static Test SumOfEvenAndOdd => TestThat
.GivenEachOf(() => new[] { 1, 3, 5 })
.AndEachOf(() => new[] { 2, 4, 6 })
.When((x, y) => x + y)
.ThenReturns()
.And((_, _, sum) => (sum % 2).Should().Be(1))
.And((x, _, sum) => sum.Should().BeGreaterThan(x))
.And((_, y, sum) => sum.Should().BeGreaterThan(y));
Full documentation can be found on the FlUnit documentation website.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on FlUnit.Abstractions:
Package | Downloads |
---|---|
FlUnit
A test framework within which tests are defined using a fluent builder. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.0 | 360 | 5/6/2024 |
4.0.0 | 129 | 4/27/2024 |
3.0.0 | 219 | 4/16/2024 |
3.0.0-pre.3 | 74 | 3/27/2024 |
3.0.0-pre.2 | 76 | 3/16/2024 |
2.0.1 | 1,693 | 9/9/2022 |
2.0.0 | 1,462 | 6/23/2022 |
2.0.0-pre.1 | 255 | 4/30/2022 |
1.0.0 | 869 | 2/19/2022 |
0.15.0 | 707 | 2/15/2022 |
0.14.0 | 755 | 2/1/2022 |
0.13.0 | 469 | 11/27/2021 |
0.12.0 | 511 | 11/14/2021 |
0.11.0 | 497 | 10/25/2021 |
0.10.0 | 493 | 10/17/2021 |
0.9.0 | 475 | 9/4/2021 |
0.8.0 | 564 | 6/6/2021 |
0.7.0 | 500 | 5/9/2021 |
0.6.0 | 1,196 | 4/11/2021 |