Green Check: every kind of software test · Part 11
100% coverage. 0% tested.
100% coverage, and nothing tested. Mutation testing breaks your code on purpose and checks whether any test notices.
An invented example, run for real: Vitest said 100%, Stryker said 7 of 7 mutants survived.
What's your mutation score?
Sources: Practical Mutation Testing at Scale: A view from Google (Petrović et al., IEEE TSE 2021) https://homes.cs.washington.edu/~rjust/publ/practical_mutation_testing_tse_2021.pdf Stryker, mutant states https://stryker-mutator.io/docs/mutation-testing-elements/mutant-states-and-metrics/




