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

  • Authors:
  • Dong Xu;Huaizhong Li;C. Peng Lam

  • Affiliations:
  • Shanghai University, Shanghai, China and Edith Cowan University, Perth, WA, Australia;Edith Cowan University, Perth, WA, Australia and Wenzhou University, Wenzhou, Zhejiang, China;Edith Cowan University, Perth, WA, Australia

  • Venue:
  • ACST'07 Proceedings of the third conference on IASTED International Conference: Advances in Computer Science and Technology
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

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.