Tune in to the tools and techniques in the Elm ecosystem.
062: elm-test v2 with Martin Janiczek
August 01, 2022
1:23:07
79.83 MB
Downloads: 0
- Martin Janiczek (github) (twitter) (youtube)
elm-test
episode- 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.andThen
andFuzz.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
#testing
channel 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