Research Article
Mutation Testing Approach to Negative Testing
Box 11
An outline of mutants generation procedure.
INPUT: | OUTPUT: | = | for each ∈ do | for each e = nextElement() do | if (e.tp = “condition”) then | = ∪ applyCPD(e.el, ); | = ∪ applyCPR(e.el, ); | = ∪ applyCPS(e.el, ); | else if (e.tp = “input”) then | = ∪ applyOCD(e.el, ); | = ∪ applyOCR(e.el, ); | = ∪ applyOCI(e.el, ); | = ∪ applyOCS(e.el, ); | = ∪ applyOPR(e.el, ); | = ∪ applyOPS(e.el, ); |
|