A systematic approach to automatically generate test scenarios from UML activity diagrams

Test scenarios are frequently used in scenario-based software testing. However, generation of the test scenarios is usually a manual and labor-intensive task. It is often desired that test scenarios can be automatically generated. As a semi-formal modeling language, UML is widely used in both academia research and industry practice to describe analysis and design specifications. The UML activity diagrams (ADs) are mainly used in business logic processing at the early stage of software development life-cycle. Obviously, testing scenarios generated from ADs can contribute to test driven development. Nevertheless, it is difficult to automatically generate test scenarios from ADs which contains fork-join pairs mixed with loops and branches. In this paper, a systematic approach is proposed to automatically generate test scenarios from the UML activity diagrams which may contain complicated fork-join structure.

[1]  Dong Xu,et al.  Using adaptive agents to automatically generate test scenarios from the UML activity diagrams , 2005, 12th Asia-Pacific Software Engineering Conference (APSEC'05).

[2]  Li Xuandong,et al.  Generating test cases from UML activity diagram based on Gray-box method , 2004 .

[3]  Youngchul Kim,et al.  Scenario based integration testing for object-oriented software development , 1999, Proceedings Eighth Asian Test Symposium (ATS'99).

[4]  Chiou Peng Lam,et al.  Application of AI for Automation of Software Testing , 2003, SNPD.

[5]  Lionel C. Briand On the many ways software engineering can benefit from knowledge engineering , 2002, SEKE '02.

[6]  Lionel C. Briand,et al.  A UML-Based Approach to System Testing , 2001, Software and Systems Modeling.

[7]  Chiou Peng Lam,et al.  Using Anti-Ant-like Agents to Generate Test Threads from the UML Diagrams , 2005, TestCom.

[8]  Karl F. Doerner,et al.  Extracting Test Sequences from a Markov Software Usage Model by ACO , 2003, GECCO.

[9]  Wil M. P. van der Aalst,et al.  Pattern-Based Analysis of the Control-Flow Perspective of UML Activity Diagrams , 2005, ER.

[10]  Xiaoqing Bai,et al.  An approach to generate the thin-threads from the UML diagrams , 2004, Proceedings of the 28th Annual International Computer Software and Applications Conference, 2004. COMPSAC 2004..

[11]  Michael R. Lyu,et al.  Achieving software quality with testing coverage measures , 1994, Computer.

[12]  Cem Kaner,et al.  Testing Computer Software, Second Edition , 1993 .

[13]  Elaine J. Weyuker,et al.  Testing Component-Based Software: A Cautionary Tale , 1998, IEEE Softw..

[14]  Phil McMinn,et al.  The State Problem for Evolutionary Testing , 2003, GECCO.

[15]  Ray Farmer,et al.  Object-Oriented Systems Analysis and Design Using UML , 2001 .