~/talk

Mutation testing: better code by making bugs

Talkat phpDay 2018 · 2018-05-11..05-12· [php]
slides:none on file

Mutation testing is automated fault injection for tests using Infection with PHPUnit and Xdebug applied to a real Symfony dependency-injection repo. It generates 3,500 mutants (naïvely leading to 2.5 million tests), uses optimizations (skip non-covered code, parallel processes, mutator profiles) and drops run time to 10 minutes vs 53 hours. It surfaces weak or redundant tests, yields ~30% equivalent/useless mutants, and needs isolated CI (Docker recommended) to avoid side effects.

AI-written summary · about

  1. 0:00Start
  2. 1:58Software Quality
  3. 6:26Cost of the Bugs
  4. 11:39How Do You Assess the Quality of Your Tests
  5. 13:31How Do You Assess the Quality of the Test Suit
  6. 14:36Code Coverage
  7. 18:31The Mutation Testing Tool
  8. 29:16Optimization Strategies
  9. 34:54Side Effects
  10. 35:09False Consequences
~/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.