Elm Radio

062: elm-test v2 with Martin Janiczek


Listen Later

  • 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 and Fuzz.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
...more
View all episodesView all episodes
Download on the App Store

Elm RadioBy Dillon Kearns, Jeroen Engels

  • 5
  • 5
  • 5
  • 5
  • 5

5

16 ratings