hedgehogqa / hedgehogqa/fsharp-hedgehog

Obtain shrink tree from a generator for particular value

Open
#320 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
F#
Stars
284
Forks
31
PR merge metrics
No merged PRs in 30d

Description

Given our current implementation, is it possible to define a function with signature
```fsharp
'a -> Gen<'a> -> Tree<'a>
```
that returns the shrink tree that the generator would use if the given value failed the test?

Of course this is not always possible. For example, the given value might not be in the range of the generator.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.