
Episode 62
062: elm-test v2 with Martin Janiczek
Martin Janiczek joins us to talk about fuzz testing, why it matters, and how the upcoming elm-test v2 changes the way you write fuzzers in Elm.
August 1, 20221h 23m
Audio is streamed directly from the publisher (cdn.simplecast.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
- Martin Janiczek (github) (twitter) (youtube)
elm-testepisode- Fuzzing is also known as Property-Based Testing
- Parameterized tests
- Martin's pure Elm text editor includes some fuzz tests
- Martin's pull request for the elm-test v2 changes
- Integrated shrinking vs the value-based (AKA type-based) approach
Fuzz.andThenandFuzz.filter(existed in 0.18 but were removed because they didn't shrink well)- elm-test v2 upgrade guide and change notes
- Passing in random generators in elm-test v2 doesn't do shrinking so best to avoid that escape hatch and instead implement an equivalent fuzzer
- Scott Wlaschin's post Choosing properties for property-based testing
- Discourse post on call for testing help and how to install the beta release
- Martin's video series on designing the new fuzz testing API
#testingchannel on the Elm Slack- Hypothesis library
- Hypothesis project's blog
- A paper about the Hypothesis reduction approach: Test-Case Reduction via Test-Case Generation: Insights From the Hypothesis Reducer