~/talk

Mutation Testing with PIT

Talkat Conf42 Enterprise Software 2021 · 2021-03-25..05-05· [testing]
github:leszko
slides:none on file

Explains mutation testing as introducing artificial bugs and checking whether tests kill them, using PIT to generate and report mutants automatically. Shows a failing demo (two mutants survive) then a fixed test that kills them. Runs PIT on a real project (5000 lines / 12 classes), wires it into GitHub Actions, publishes HTML reports to GitHub Pages, and completes full mutation coverage in about 2.5 minutes. Notes equivalent-mutant risk and PIT’s heuristics to avoid slow, useless mutations.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40NASA Mars Orbiter disaster
  3. 3:23Code coverage limitations
  4. 5:07Mutation testing explained
  5. 6:30Mutants and operations
  6. 8:15PIT for Java
  7. 9:20Demo: Calculator example
  8. 12:29Scaling to real projects
  9. 13:55Demo: Hazelcast plugin
  10. 16:01Why adoption took decades
  11. 17:25Performance challenges and PIT
  12. 18:27Convincing teams
  13. 19:52Danger of coverage thresholds
  14. 20:35PIT in CI/CD
  15. 21:18Industry adoption
~/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.