~/talk

Monads for Testers

TalkinRussianat Selenium Camp 2019 · 2019-02-22..02-23· [testing]
slides:none on file

Shows how functional programming in Scala on the JVM helps testers avoid bugs by using Option to eliminate nulls, Either instead of exceptions, immutable case classes with copy to prevent state mutations, and map/flatMap chaining to flatten error handling. Presents a small discount-by-country example, explains making the compiler enforce exhaustive cases, and advocates pure functions, monads and property-based testing to simplify tests and enable safe parallel runs.

AI-written summary · about

  1. 0:00Introduction
  2. 1:09Why it's hard
  3. 2:16Exception problems
  4. 9:45Eliminating exceptions
  5. 19:06Mutability problems
  6. 25:27Pure functions improve quality
  7. 34:14What are monads
  8. 40:28Functional impact on quality
  9. 42:16Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.