BurntSushi / BurntSushi/quickcheck
Default/empty shrink impls don't print counterexamples
- Dominant language
- Rust
- Stars
- 2.8k
- Forks
- 165
- PR merge metrics
- No merged PRs in 30d
Description
It appears the default (empty) implementation of `shrink` no longer prints counterexamples, instead reporting `[quickcheck] TEST FAILED. No Arguments Provided`. The workaround is to either downgrade or provide a shrink implementation.
This bug seems to have been introduced by https://github.com/BurntSushi/quickcheck/pull/304.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the shrink behavior and the changes introduced by pull request 304. Reproduce a failing property test with the default empty shrink implementation, then verify that the output includes the counterexample rather than only “[quickcheck] TEST FAILED. No Arguments Provided”.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100