Info
Version: | 3.0.0-rc3 |
Author(s): | Kurt Schelfthout and contributors |
Last Update: | Sunday, March 3, 2024 |
.NET Fiddle: | Online Example |
Project Url: | https://fscheck.github.io/FsCheck/ |
NuGet Url: | https://www.nuget.org/packages/FsCheck |
Install
Install-Package FsCheck
dotnet add package FsCheck
paket add FsCheck
FsCheck Download (Unzip the "nupkg" after downloading)
Dependencies
- FSharp.Core(>= 4.5.0)
Tags
You provide a specification of the program, in the form of properties which functions, methods or objects should satisfy, and FsCheck then tests that the properties hold in a large number of randomly generated cases. Such properties are actually a testable specification of your program.
Properties are written in F#, C# or VB.
FsCheck helps you to define properties, observe the distribution of test data, and define test data generators. Crucially, when a property fails, FsCheck automatically displays a minimal counter example.