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
Jun 9, 2020
Latest stable version

Install

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

Frameworks

net452 netstandard1.6 netstandard2.0 netstandard1.0

Dependencies

[4.2.3, )
FSharp.Core
netstandard1.6
[4.2.3, )
FSharp.Core
netstandard2.0
[4.2.3, )
FSharp.Core
netstandard1.0
[4.0.0.1, )

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