~/talk

The Mutation Game: Cracking the Enigma of Mutation Testing

Talkat RubyConf 2024 · 2024-11-13..11-15· [testing]
slides:none on file

Shows mutation testing applied to a real Ruby app using the mutant gem and the parser gem, running about 20 mutations with 18 killed and 2 surviving before test and code changes push coverage to 100% on a method. Demonstrates concrete fixes: replace [] with fetch, add failing cases, remove stray puts, and change tests to catch edge cases. Notes runtime slowdown, occasional threading/parsing errors, inability to mutate eval/closure-defined methods, and a $90 per seat cost.

AI-written summary · about

  1. 0:00Mutation testing intro
  2. 1:45What mutation testing does
  3. 4:39Benefits of mutation testing
  4. 6:24Ruby mutation tools
  5. 8:31Demo: Benedict vs X-Men
  6. 11:43Mutating array length
  7. 13:55Fixing average box office
  8. 16:25Box office data with median
  9. 18:54Validating UPC codes
  10. 21:00Limitations of mutation testing
  11. 23:29Adopt mutation testing?
~/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.