elm-explorations / elm-explorations/test
Shrinking optimization: check what part of RandomRun did a generator use
Open
- Dominant language
- Elm
- Stars
- 244
- Forks
- 40
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 2
Description
This idea is courtesy of @CoderDennis - thanks!
When a shrunk RandomRun is tried, and succeeds in generating a test-failing value, remove the unused suffix of the RandomRun value (it would have to be cleaned up with further ShrinkCmds later otherwise). Return only the used part of the RandomRun as the new best shrink.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.