An Approach to Generate Scenario Test Cases Based on UML Sequence Diagrams

Jian Shen · 2004

UML sequence diagram is an important component of software design model based on UML. Because it de- scribes the dynamic behaviors of a software system, it becomes a valuable information source in software integration test. This paper proposes an approach to generate scenario test cases based on UML sequence diagrams. It takes UML sequence diagrams as its main test model and generates all test scenarios combining UML state diagrams and class diagrams, then it applies category partition method to find environmental settings related to each scenario and combines them with method call sequence ,as well as input and output, to form a test case for each scenario, thus we can test the interactive behavior of the software. Because UML has been widely used in software analysis and design phrases, using UML to generate test cases can make the most of the existing design results and reduce the expenses of test phrase. Accordingly, it is significant to industry in which UML has been used.

Read the paper · More papers on PaperTik