nick8325 / nick8325/quickcheck
Test.QuickCheck.Shrinking without Arbitrary
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 790
- Forks
- 130
- Avg merge
- 16h 41m
- Merged PRs (30d)
- 2
Description
It would be very useful to be able to have stateful shrinkers, as per Test.QuickCheck.Shrinking without having to use the Arbitrary machinary.
e.g. something complementing forAllShrink (forAllShrinkState?) that can take a ShrinkState instance (or manually passing the two relevant functions).
Related to #272
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading Test.QuickCheck.Shrinking and the forAllShrink entry point, then compare the proposed forAllShrinkState and ShrinkState approaches. Done means stateful shrinking is available without requiring an Arbitrary instance, with the API shape and relevant functions agreed and implemented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100