~/talk

Automatic White Box Testing With Free Monads

Talkat f(by) 2020 · on Saturday, 2020-01-25· [haskell, testing]

Presents a concrete system that turns hierarchical free monads into testable scenarios by swapping interpreters into record/replay mode, emitting JSON recordings of every effectful step and using a player that replays and diffs those entries. Claims this runs in production at JustPay, unifies unit and integration tests, supports per-entry no-mock/no-verify options, and requires only serializable entry types. The prototype and showcase exist, the player flags mismatches, and teams report much lower test maintenance.

AI-written summary · about

  1. 0:00Talk introduction
  2. 0:27What are free monads
  3. 1:10Speaker background
  4. 3:21Business logic with free monads
  5. 6:46Flow framework internals
  6. 8:35Hierarchical free monads
  7. 8:55Interpreters and testing
  8. 10:22Limitations of test interpreters
  9. 11:31Unit testing in Haskell
  10. 14:45Why unit tests are hated
  11. 19:15Automatic white box testing
  12. 24:01Recording and replaying flows
  13. 27:59Questions and answers
  14. 34:05Conclusions and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.