FsCheck 2.0.0-alpha
dotnet add package FsCheck --version 2.0.0-alpha
NuGet\Install-Package FsCheck -Version 2.0.0-alpha
<PackageReference Include="FsCheck" Version="2.0.0-alpha" />
paket add FsCheck --version 2.0.0-alpha
#r "nuget: FsCheck, 2.0.0-alpha"
// Install FsCheck as a Cake Addin #addin nuget:?package=FsCheck&version=2.0.0-alpha&prerelease // Install FsCheck as a Cake Tool #tool nuget:?package=FsCheck&version=2.0.0-alpha&prerelease
FsCheck is a tool for testing .NET programs automatically. The programmer provides 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. While writing the properties, you are actually writing a testable specification of your program. Specifications are expressed in F#, C# or VB, using combinators defined in the FsCheck library. FsCheck provides combinators to define properties, observe the distribution of test data, and define test data generators. When a property fails, FsCheck automatically displays a minimal counter example.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- FSharp.Core (>= 3.1.2.1)
GitHub repositories (18)
Showing the top 5 popular GitHub repositories that depend on FsCheck:
Repository | Stars |
---|---|
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
|
|
akkadotnet/akka.net
Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
|
|
commandlineparser/commandline
The best C# command line parser that brings standardized *nix getopt style, for .NET. Includes F# support
|
|
AutoFixture/AutoFixture
AutoFixture is an open source library for .NET designed to minimize the 'Arrange' phase of your unit tests in order to maximize maintainability. Its primary goal is to allow developers to focus on what is being tested rather than how to setup the test scenario, by making it easier to create object graphs containing test data.
|
|
microsoft/onefuzz
A self-hosted Fuzzing-As-A-Service platform
|
Version | Downloads | Last updated |
---|---|---|
2.0.0-alpha | 100 | 4/27/2015 |
1.0.4 | 8,824 | 12/9/2014 |
1.0.3 | 2,027 | 11/18/2014 |
1.0.2 | 617 | 10/27/2014 |
1.0.1 | 1,168 | 10/18/2014 |
1.0.0 | 2,340 | 8/3/2014 |
0.9.4 | 4,823 | 5/24/2014 |
0.9.3 | 250 | 5/9/2014 |
0.9.2 | 7,336 | 11/7/2013 |
0.9.1 | 1,591 | 7/2/2013 |
0.9.0.1 | 68 | 6/21/2013 |
0.9.0 | 105 | 6/18/2013 |
0.8.3 | 764 | 8/26/2012 |
0.8.2 | 188 | 7/4/2012 |
0.8.1 | 117 | 6/25/2012 |
0.7.1 | 79 | 5/29/2011 |
Rename FsCheckTestCaseBuider to Builder. (potentially breaking change)
Add RequireQualifiedAccess to TestResult and Outcome. (breaking change for IRunner implementations and test framework integrations)
Remove Fluent API and SpecBuilder in favor of overloads in Prop and extension methods on Property (breaking change)
Add extension methods to allow working with Arbitrary from C#/VB.
Rename Any to Gen. Rename pretty much all methods on Any to match the existing methods they wrap on Gen module. (breaking change)
Add missing Gen and Arbitrary extension methods and C#/VB wrappers.
Make Property a real type instead of a type alias.
Add discard (by Mauricio Scheffer)
Various improvements and changes to Command interface for easier consumption, also from C#/VB (breaking change)
Add explicit dependency on FSharp.Core Nuget package to hopefully reduce version confusion and make things easier for C#/VB users.