摘要
UML activity diagram (AD)-based testing has been reported in some literatures. Some new elements, such as concurrent executions, exception handlers, and interruptible regions, however, have been added to UML specifications since UML 2.0 version was released. Meanwhile, UML AD is no more the special case of state machines and it is applied to much more than just software modeling. To our knowledge, existing research work is little related to these new elements in generating tests from UML ADs. These complex structures in UML ADs are discussed and from which test scenarios can be extracted in this paper. Formalizing UML ADs, as well as forming test scenarios, is also presented. A suit of test coverage criteria is depicted and a systematic approach is given to automatically generate test scenarios from UML ADs. An XML schema is designed to create XML files that represent UML ADs that are extracted from XMI, HTML, and MDI documents. A tool named TSUAD is finally implemented to support automatically generating test scenarios from UML ADs.
- 出版日期2014
- 单位上海大学