Skip to main content
FsCheck package icon

FsCheck

FsCheck is a tool for testing .NET programs automatically. 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.

Total Downloads
16.6M
16,576,051
Published
Oct 6, 2018
Latest stable version

Install

.NET CLI
dotnet add package FsCheck --version 2.12.0
Package Manager Console
Install-Package FsCheck -Version 2.12.0
PackageReference
<PackageReference Include="FsCheck" Version="2.12.0" />

Frameworks

.NETPortable,Version=v0.0,Profile=net45+netcore45+wpa81+wp8 .NETPortable,Version=v0.0,Profile=net45+netcore45+wp8 .NETPortable,Version=v0.0,Profile=net45+netcore45 .NETFramework4.5.2 .NETStandard1.6

Dependencies

FSharp.Core
.NETPortable,Version=v0.0,Profile=net45+netcore45+wpa81+wp8
[4.0.0.1, )
FSharp.Core
.NETPortable,Version=v0.0,Profile=net45+netcore45+wp8
[4.0.0.1, )
FSharp.Core
.NETPortable,Version=v0.0,Profile=net45+netcore45
[4.0.0.1, )
FSharp.Core
.NETFramework4.5.2
[4.0.0.1, )
FSharp.Core
.NETStandard1.6
[4.2.3, )
NETStandard.Library
.NETStandard1.6
[1.6.1, )
System.ValueTuple
.NETStandard1.6
[4.5.0, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.