Open retroinspect opened 1 year ago
Glad to see that you are studying CS458 lectures hard ;-)
Do edge-pair coverage cover 0, 1, 2 length paths?
No (the definition in the lecture slides are slightly different from the textbook)
why does edge-pair test coverage subsume edge coverage from the hierarchy graph?
Since all edge-pairs in G contain all edges in G (except a graph that has an inextensible path of length 1 )
In this example, edge pair set has only [0, 1, 2] and not covers edge [0, 2] I guess.
You are right. Thank you for pointing out the glitch in the edge-pair definition in the lecture slides. (I slightly modified the previous comment ) To handle that glitch, the textbook defines TR of EPC to contain each path of length up to 2, which sounds confusing. So, in spite of the technical glitch, the lecture slides defines TR of EPC to contain every path of length 2.
For Inactive Clause Coverage, is there any feasible set of test cases forP = (A && B) || C
? It seems no combination can make C and P independent.I understand that it might be infeasible to meet inactive clause coverage.From the definition of Restricted Inactive Clause Coverage on the below slide, Should the values chosen for minor clauses be all same for (1),(2),(3),(4) OR same for (1), (2) and (3), (4)?