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 | 350 | 5/6/2024 |
1.3.0 | 165 | 4/16/2024 |
1.3.0-pre.1 | 80 | 4/14/2024 |
1.2.0 | 1,385 | 10/20/2022 |
1.1.2 | 573 | 9/9/2022 |
1.1.1 | 775 | 6/23/2022 |
1.1.0 | 133 | 6/23/2022 |
1.1.0-pre.1 | 212 | 5/1/2022 |
1.0.0 | 595 | 2/19/2022 |
0.15.0 | 454 | 2/15/2022 |
0.14.0 | 478 | 2/1/2022 |
0.13.0 | 372 | 11/27/2021 |
0.12.0 | 388 | 11/14/2021 |
0.11.0 | 355 | 10/25/2021 |
0.10.0 | 344 | 10/17/2021 |
0.9.0 | 316 | 9/4/2021 |
0.8.0 | 390 | 6/6/2021 |
0.7.0 | 369 | 5/9/2021 |
0.6.0 | 377 | 4/11/2021 |
0.5.0 | 349 | 4/9/2021 |
0.4.0 | 361 | 4/9/2021 |
0.3.0 | 718 | 2/22/2020 |
0.2.0 | 667 | 2/17/2020 |
0.1.4 | 846 | 2/15/2020 |
0.1.3 | 818 | 2/15/2020 |