elm-test is an unit testing / property-based testing library for the Elm language.
Since version 2.0.0 elm-test uses the "internal shrinking" approach popularized by Hypothesis: instead of shrinking the generated values it shrinks the underlying "random dice rolls" stream and tries to generate values from scratch from these simplified random values.
For a very approachable intro look at the minithesis repository, which implements this very core idea of Hypothesis.
You need node
and one of npm
or yarn
. With these, run yarn
and yarn start
.
Alternatively, you need elm
and elm-esm
on the PATH. With these, run ./run.sh
.