~/talk

Difflicious - Readable and Flexible diffs for your tests

Talkat Scala Love 2022 · on Friday, 2022-02-18· [scala, testing]
links:none on file
slides:none on file

Difflicious is a Scala library (2.12 / 2.13 / 3) that produces readable, actionable test diffs by deriving typeclass differ instances (macros) and by letting tests immutably reconfigure them. Examples show munit and ScalaTest integration, pairBy for lists to match items by key instead of index, ignore path expressions to skip generated IDs, and nested replacement of differs so maps, sets and sealed subtypes show precise missing/extra/value diffs. Macros make Java usage impractical; quick equals differs (e.g. UUID) and IntelliJ-friendly output are supported.

AI-written summary · about

  1. 0:00Intro
  2. 0:55The problem
  3. 4:22The library
  4. 7:25Data structures
  5. 9:27Default behavior
  6. 13:03Behaviors
  7. 23:00Final tips
~/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.