elm-test
Elm property-based testing library. Current work optimizes PBT generation and shrinking performance using JS TypedArrays, cutting a PBT-heavy test suite's runtime from 1336ms to 891ms, and experiments with adding coverage-guided, AFL-style PBT input generation on top of the library's existing random input generation.
What it addresses
PBT generation and shrinking in elm-test were slow, and the library only supported random input generation with no coverage-guided input generation.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
elm-test
Elm property-based testing library. Current work optimizes PBT generation and shrinking performance using JS TypedArrays, cutting a PBT-heavy test suite's runtime from 1336ms to 891ms, and experiments with adding coverage-guided, AFL-style PBT input generation on top of the library's existing random input generation.
Problem: PBT generation and shrinking in elm-test were slow, and the library only supported random input generation with no coverage-guided input generation.
Posted by @mjaniczek · Original source ↗
Source text · @mjaniczek · · Source ↗
I'm optimizing performance of PBT generation and shrinking in [elm-test](https://github.com/elm-explorations/test/compare/master...janiczek-benchmark-js-randomrun) - on its own PBT-heavy test suite I got it down from 1336ms to 891ms by using JS TypedArrays. I'm also experimenting with coverage-guided PBT input generation in the same library, AFL-style -- right now elm-test only has random input generation.