nick8325 / nick8325/quickcheck
Pretty-show-ing the counterexample.
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 790
- Forks
- 130
- Avg merge
- 16h 41m
- Merged PRs (30d)
- 2
Description
As part of my work on https://github.com/NorfairKing/sydtest, I'd like to ppShow the generated counterexample.
The failingTestCase seems to have hard-coded show. Is there any way around this?
Is there any chance you might expose the failing test case as a Show box instead of a string?
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 examining Test.QuickCheck.Result and the failingTestCase field, focusing on the hard-coded show mentioned in the issue. Determine whether the failing test case can be exposed as a Show value for ppShow, and define completion around supporting the requested counterexample formatting without breaking existing result rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100