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

add property based tests with FsCheck#222

Open
vilinski wants to merge 2 commits intoneuecc:masterfrom
vilinski:property-tests
Open

add property based tests with FsCheck#222
vilinski wants to merge 2 commits intoneuecc:masterfrom
vilinski:property-tests

Conversation

@vilinski
Copy link
Copy Markdown

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