FlUnit 1.2.0
.NET 6.0
.NET Standard 2.0
dotnet add package FlUnit --version 1.2.0
NuGet\Install-Package FlUnit -Version 1.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="FlUnit" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FlUnit --version 1.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FlUnit, 1.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 FlUnit as a Cake Addin
#addin nuget:?package=FlUnit&version=1.2.0
// Install FlUnit as a Cake Tool
#tool nuget:?package=FlUnit&version=1.2.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 | 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 was computed. net8.0-android 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 was computed. |
.NET Framework | net461 was computed. net462 was computed. 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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- FlUnit.Abstractions (>= 2.0.1)
-
net6.0
- FlUnit.Abstractions (>= 2.0.1)
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 |
---|---|---|
1.2.0 | 1,124 | 10/20/2022 |
1.1.2 | 517 | 9/9/2022 |
1.1.1 | 698 | 6/23/2022 |
1.1.0 | 105 | 6/23/2022 |
1.1.0-pre.1 | 193 | 5/1/2022 |
1.0.0 | 503 | 2/19/2022 |
0.15.0 | 402 | 2/15/2022 |
0.14.0 | 403 | 2/1/2022 |
0.13.0 | 289 | 11/27/2021 |
0.12.0 | 329 | 11/14/2021 |
0.11.0 | 284 | 10/25/2021 |
0.10.0 | 303 | 10/17/2021 |
0.9.0 | 262 | 9/4/2021 |
0.8.0 | 332 | 6/6/2021 |
0.7.0 | 296 | 5/9/2021 |
0.6.0 | 311 | 4/11/2021 |
0.5.0 | 293 | 4/9/2021 |
0.4.0 | 296 | 4/9/2021 |
0.3.0 | 626 | 2/22/2020 |
0.2.0 | 580 | 2/17/2020 |
0.1.4 | 746 | 2/15/2020 |
0.1.3 | 750 | 2/15/2020 |