首页 | 本学科首页   官方微博 | 高级检索  
     

基于UML模型的系统级测试用例生成方法
引用本文:冯秋燕.基于UML模型的系统级测试用例生成方法[J].计算机应用,2014,34(1):276-280.
作者姓名:冯秋燕
作者单位:河南财经政法大学 图书馆, 郑州 450000
摘    要:采用基于UML模型的软件测试方法,主要整合用例图与顺序图进行系统级的软件测试。首先提出用例执行图(UEG)的生成算法、顺序执行图(SEG)的生成算法,及基于UEG和SEG,生成系统测试图(STG)的算法;其次,根据制定的三层次准则,遍历UEG、SEG、STG生成测试用例,主要解决交互错、场景错、用例执行错和用例依赖错等问题。最后,经实例分析和实验验证,该方法可以基于用例图和顺序图进行系统级的软件测试。

关 键 词:UML模型    软件测试    用例图    顺序图    测试用例
收稿时间:2013-06-27
修稿时间:2013-08-25

System-level test case generating method based on UML model
FENG Qiuyan.System-level test case generating method based on UML model[J].journal of Computer Applications,2014,34(1):276-280.
Authors:FENG Qiuyan
Affiliation:Library, Henan University of Economics and Law, Zhengzhou Henan 450000, China
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.
Keywords:UML model                                                                                                                          software testing                                                                                                                          use case diagram                                                                                                                          sequence diagram                                                                                                                          test case
本文献已被 CNKI 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号