-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Collecting all results of the property based tests from the hackday #372
Conversation
9d2498f
to
e1e04b9
Compare
1e22ffd
to
623e4e4
Compare
What is the ask for this PR? I don't yet understand what the purpose of this is, if someone could clarify the purpose of this PR, I would be grateful. |
Hi, the basic idea is to bring property based testing on the table. During the hack day we tried it out and tried to find bugs in the FSharp.Core collections. It were able to easily reproduce #373 and lot's of different variations.
The tests are overlapping yes, but there are also lots of new ones.
This is a really amazing test. FsCheck will generate tons of different testcases with all kinds of weird types and tries to break it. As @theimowski showed with a similar test: Array.sort is not stable (as expected). Unfortunately I don't have all the test from the participants since people told me they want to clean up before they send it.
Yes we need a framework that is able to generate the test cases. So it's introducing https://fsharp.github.io/FsCheck/
no, not at all. thse property based tests are additional testing suite. tl;dr: we are trying to come up with test suite that makes it easier to find bugs in FSharp.Core. But this is far from ready to merge. |
There has been no update on this guy for quite a while. Please re-open when it's ready to be merged. |
This PR is WIP and not intended to merge, but I hope it's OK to do this here in the open (since the CI is working here).
Currently we have: