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
14.8M
14,848,347
Published
Jan 7, 2025
Latest stable version

Install

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

Frameworks

.NETStandard2.0

Dependencies

FSharp.Core
.NETStandard2.0
[5.0.2, )

Adoption guide

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

Compatibility metadata lists 1 target framework; 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.