d-edge / d-edge/Cardizer

Use FsCheck

Open
#17 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
28
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hello,

I wanted to start playing with [FsCheck](https://github.com/fscheck/FsCheck) for a while. i will let FsCheck introduce itself:

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

I will start a branch about it next Thursday.

Thank you @thinkbeforecoding for mentioning it and /u/Frozen_Turtle to mentioning again. Lets do it!

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by reviewing the repository structure and current test setup, then determine where FsCheck would fit and which properties should be introduced; done should mean a defined FsCheck integration with passing property-based tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.