FlUnit 2.0.0
dotnet add package FlUnit --version 2.0.0
NuGet\Install-Package FlUnit -Version 2.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" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FlUnit --version 2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FlUnit, 2.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 as a Cake Addin #addin nuget:?package=FlUnit&version=2.0.0 // Install FlUnit as a Cake Tool #tool nuget:?package=FlUnit&version=2.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FlUnit
This package is the core library for the FlUnit framework. 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 via the FlUnit repository readme.
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
- FlUnit.Abstractions (>= 5.0.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 |
---|---|---|
2.0.0 | 324 | 5/6/2024 |
1.3.0 | 158 | 4/16/2024 |
1.3.0-pre.1 | 76 | 4/14/2024 |
1.2.0 | 1,381 | 10/20/2022 |
1.1.2 | 567 | 9/9/2022 |
1.1.1 | 769 | 6/23/2022 |
1.1.0 | 127 | 6/23/2022 |
1.1.0-pre.1 | 210 | 5/1/2022 |
1.0.0 | 589 | 2/19/2022 |
0.15.0 | 448 | 2/15/2022 |
0.14.0 | 472 | 2/1/2022 |
0.13.0 | 366 | 11/27/2021 |
0.12.0 | 382 | 11/14/2021 |
0.11.0 | 349 | 10/25/2021 |
0.10.0 | 338 | 10/17/2021 |
0.9.0 | 310 | 9/4/2021 |
0.8.0 | 384 | 6/6/2021 |
0.7.0 | 363 | 5/9/2021 |
0.6.0 | 371 | 4/11/2021 |
0.5.0 | 343 | 4/9/2021 |
0.4.0 | 355 | 4/9/2021 |
0.3.0 | 709 | 2/22/2020 |
0.2.0 | 661 | 2/17/2020 |
0.1.4 | 840 | 2/15/2020 |
0.1.3 | 812 | 2/15/2020 |