Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

add property based tests with FsCheck #222

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vilinski
Copy link

originally the bug #213 was found using the FsCheck in my internal project. This will be hopefully fixed soon thanks to PR #220 from @RamType-0

Adding FsCheck proposed since property based tests are:

  • more poverful - covering not expected range cases too.
  • easier to handle than Theory with InlineData - you don't need to write the input values manually
  • especially useful for testing serialize/deserialize loops - generates input for any types and data structures

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant