mutation testing

Software testing technique that makes small deliberate changes to code and checks whether existing tests detect them, measuring how well the tests catch faults.

1 article
Last mentioned

Mutation testing is a software testing technique that creates mutants, versions of a program with small changes to operators, conditions, or constants, and runs the existing tests to see whether each mutant causes a failure. Mutants that make a test fail are considered killed, and the share of killed mutants, called the mutation score, is used to judge the quality of a test suite.

Unlike code coverage, which shows only whether code was executed, mutation testing measures whether tests actually detect incorrect behavior in that code. The idea was proposed in the 1970s, and tools such as PIT for Java and Stryker for JavaScript implement it.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

Mutation testing deliberately alters software to see whether a test suite detects the resulting violation.


© 2026 AIPOST. All rights reserved.

AIPOST is an AI publication covering practical AI, AI security, performance, startups, health, ethics and industry news. No account is needed, and our privacy policy explains how we handle personal information.