HomeComputer ScienceMutation Testing Lab 2D: How Good Is Your Test Suite?

Mutation Testing Lab 2D: How Good Is Your Test Suite?

Interactive 2D mutation-testing simulator: inject synthetic code mutants across four real operator families, tune test coverage and assertion strength, pan and zoom a live grid of mutants as they are killed, survive, or turn out semantically equivalent, and track the mutation score plus a per-family kill-rate breakdown.

Computer Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-software-engineering-advanced ↗ Open standalone

Code coverage tells you which lines ran — it says nothing about whether your tests would actually catch a bug there. Mutation testing answers that harder question by seeding synthetic defects into the code and rerunning the suite against each one: if nothing fails, the suite has a gap. This lab renders a pannable, zoomable 2D grid of mutants across four real mutation-operator families (arithmetic, relational, logical, boundary), lets you tune test coverage, assertion strength and the unavoidable equivalent-mutant rate, and animates each mutant being killed, surviving, or turning out semantically equivalent — with a live mutation score, a per-family kill-rate breakdown, and a run-over-run score history, all computed exactly as PIT, Stryker or mutmut would report it.

⚙ Under the hood

Interactive 2D mutation-testing simulator: inject synthetic code mutants across four real operator families, tune test coverage and assertion strength, pan and zoom a live grid of mutants as they are killed, survive, or turn out semantically equivalent, and track the mutation score plus a per-family kill-rate breakdown.

software-testingmutation-testingcode-qualitytest-coveragedevopsalgorithms

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)