Test Selection, Minimization, and Prioritization
/*
Procedure 4FMFDU5FTUT%FDM is invoked repeatedly after
the initialization step. In turn, 4FMFDU5FTUT%FDM looks
for any changes in declarations and selects those tests from
T that traverse nodes affected by the changes. Procedure
4FMFDU5FTUT decribed earlier, is called upon the termi-
nation of the previous step.
*/
Step 1 Set T
=∅. Unmark all nodes in G and in its child CFGs.
Step 2 For each function f in G, call procedure 4FMFDU
5FTUT%FDMf declChange
f
, gdeclChange). Each call up-
dates T
.
Step 3 Call procedure 4FMFDU5FTUT(Start, G
.Start
), where
G.Start and G
.Start are, respectively, the start nodes in G
and G. This procedure may add new tests to T
.
Step 4 T
is the desired test set for regression ...