It’s a property based testing library similar to
elm-explorations/test's Fuzz module, with the difference that it uses a shrinking method that has less disadvantages.
In short, it shrinks the underlying PRNG’s decisions instead of the generated values themselves, and that sidesteps the conventional shrinkers’ trouble with shrunk
andThen-ed values no longer satisfying preconditions, since it instead generates the values from scratch each time.
Fuzz API much closer to the
Random.Generator APIs; doesn’t expose any shrinking details to you the user, and lets you use
andThen in your fuzzers.
I’m planning to add some adapters so that it can be used comfortably in
elm-explorations/test, define some more fuzzers and then publish it.
See the test suite for usage examples.
Do you have any suggestions / questions / concerns? I’d like to get the 1.0.0 release as good as possible