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
#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

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 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.

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 96 5/6/2024
1.3.0 102 4/16/2024
1.3.0-pre.1 66 4/14/2024
1.2.0 1,353 10/20/2022
1.1.2 544 9/9/2022
1.1.1 742 6/23/2022
1.1.0 114 6/23/2022
1.1.0-pre.1 200 5/1/2022
1.0.0 528 2/19/2022
0.15.0 436 2/15/2022
0.14.0 446 2/1/2022
0.13.0 328 11/27/2021
0.12.0 353 11/14/2021
0.11.0 322 10/25/2021
0.10.0 313 10/17/2021
0.9.0 285 9/4/2021
0.8.0 358 6/6/2021
0.7.0 333 5/9/2021
0.6.0 348 4/11/2021
0.5.0 314 4/9/2021
0.4.0 332 4/9/2021
0.3.0 672 2/22/2020
0.2.0 619 2/17/2020
0.1.4 805 2/15/2020
0.1.3 775 2/15/2020