~/talk

Mutation Testing with PHP

TalkinDutchat Laracon EU Online 2021 · 2021-01-18..01-22· [php, testing]
links:none on file
slides:none on file

Mutation testing for PHP is demonstrated using the Infection PHP tool on a shipping calculator example; it generates mutants (flipping conditionals, changing signatures) to show that 66% line coverage can still hide a low mutation score (~15%). The workflow runs in CI with GitHub Actions and the concrete approach is to add targeted tests that kill surviving mutants, raise the mutation score, and produce actionable diffs to improve test confidence.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04What is mutation testing
  3. 2:31How mutation testing works
  4. 3:56Measuring test effectiveness
  5. 7:28Practical demo: shipping calculator
  6. 12:35Fixing failing mutants
  7. 14:23Starting mutation testing
  8. 17:32Resources and next steps
~/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.