Formal Analysis of Reachability, Infection and Propagation Conditions in Mutation Testing
Seyed-Hassan Mirian-Hosseinabadi
TL;DR
A formal approach to calculate RIP conditions is proposed using the Dijkestra's weakest precondition predicate transformer (wp(_,_)) to calculate infection and propagation conditions.
Abstract
Finding test cases to kill the alive mutants in Mutation testing needs to calculate the Reachability, Infection and Propagation(RIP) conditions and full test specification. In this paper, a formal approach to calculate RIP conditions is proposed. The Dijkestra's weakest precondition predicate transformer (wp(_,_)) is used to calculate infection and propagation conditions. The rc(_) function is defined to calculate the reachability conditions generated by each statement. Four programs and their mutants are examined as running examples and as case studies to show the applicability of the method.
