计算机应用研究2013,Vol.30Issue(9):2740-2743,4.DOI:10.3969/j.issn.1001-3695.2013.09.045
应用UML顺序图的联锁测试用例生成方法
UML sequence based interlocking test case generation
摘要
Abstract
Computer interlocking software is the highest safety integrity level software,so it is essential to test it before putting it into use.In order to get interlocking software test cases,combined with UML models with sufficient testing information,this paper proposed a method of test case generation based on UML sequence diagram.By proposing generating algorithm of directed graph SG,transferred sequence diagram into SG and traversed SG based on specific coverage criteria and by using depthfirst algorithm.It generated the input,respected output,constraint and scenario context and these four constituted the test case.Finally,route setting example proves the feasibility and correctness of this method.关键词
UML顺序图/软件测试/测试用例生成/联锁Key words
UML sequence diagram/ software test/ test case generation/ interlocking分类
信息技术与安全科学引用本文复制引用
高雪娟,武晓春..应用UML顺序图的联锁测试用例生成方法[J].计算机应用研究,2013,30(9):2740-2743,4.基金项目
国家自然科学基金资助项目(61164010) (61164010)