Slicing-based test case generation using UML 2.0 sequence diagram

Autor: Swain, Ranjita Kumari, Panthi, Vikas, Behera, Prafulla Kumar, Mohapatra, Durga Prasad
Zdroj: International Journal of Computational Intelligence Studies; January 2014, Vol. 3 Issue: 2-3 p221-250, 30p
Abstrakt: We present a novel test case generation technique using the features of UML 2.0 sequence diagrams. First, we construct the UML sequence diagram of a system. Then, we construct message dependency graph (MDG) from the sequence diagram (SD) and select conditional predicates by traversing MDG. Then, we compute slices corresponding to each conditional predicate. Finally, we generate test cases with respect to a given slicing criterion. Our testing strategy derives test cases using slice test coverage, high path coverage and full predicate coverage criteria. Here, we focus on testing of sequences of messages among objects of use case scenarios. Our technique can be used for system and cluster level testing accommodating the object message and condition information. Thus, our test cases are suitable for detecting object interactions and operational faults. Finally, we have made an analysis and comparison of our approach with the existing approaches, through a case study.
Databáze: Supplemental Index