Journal of Computer Applications ›› 2014, Vol. 34 ›› Issue (1): 276-280.DOI: 10.11772/j.issn.1001-9081.2014.01.0276
• Network and distributed techno • Previous Articles Next Articles
FENG Qiuyan
Received:
Revised:
Online:
Published:
Contact:
冯秋燕
通讯作者:
作者简介:
Abstract: With the software testing methods based on Unified Model Language (UML) models, use case diagrams and sequence diagrams were integrated for system testing. Firstly, three algorithms were proposed including the algorithm for generating Use case diagram Execution Graph (UEG), the algorithm for generating Sequence diagram Execution Graph (SEG) and the algorithm for generating System Testing Graph (STG) based on UEG and SEG. Then, the UEG, SEG and STG were traversed to generate test cases for system-level testing based on specified three-level criteria, mainly to detect interaction, scenario, use case and use case dependency faults. Finally, the experimental validation shows that the solution can do system-level software testing based on use case diagram and sequence diagram.
Key words: UML model, software testing, use case diagram, sequence diagram, test case
摘要: 采用基于UML模型的软件测试方法,主要整合用例图与顺序图进行系统级的软件测试。首先提出用例执行图(UEG)的生成算法、顺序执行图(SEG)的生成算法,及基于UEG和SEG,生成系统测试图(STG)的算法;其次,根据制定的三层次准则,遍历UEG、SEG、STG生成测试用例,主要解决交互错、场景错、用例执行错和用例依赖错等问题。最后,经实例分析和实验验证,该方法可以基于用例图和顺序图进行系统级的软件测试。
关键词: UML模型, 软件测试, 用例图, 顺序图, 测试用例
CLC Number:
TP311.5
FENG Qiuyan. System-level test case generating method based on UML model[J]. Journal of Computer Applications, 2014, 34(1): 276-280.
冯秋燕. 基于UML模型的系统级测试用例生成方法[J]. 计算机应用, 2014, 34(1): 276-280.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/10.11772/j.issn.1001-9081.2014.01.0276
https://www.joca.cn/EN/Y2014/V34/I1/276