基于UML活动图的测试用例自动生成方法研究  被引量:18

Research on automatic generating test case method based on UML activity diagram

在线阅读下载全文

作  者:牟凯[1] 顾明[1] 

机构地区:[1]清华大学软件学院,北京100084

出  处:《计算机应用》2006年第4期844-846,共3页journal of Computer Applications

基  金:国家863计划资助项目(2003AA414031)

摘  要:基于UML活动图对系统测试的方法进行研究。针对活动图半形式化特性,给出了活动图的形式化描述及测试覆盖准则的定义。重点分析并发活动的顺序及排列,引入人机动态交互的方法在测试场景生成算法上加以约束,避免了测试场景集数量爆炸,使自动化生成测试用例可行性有一定提高。最后,讨论了从测试场景到测试用例的方法,从而为UML活动图的自动化测试提供了系统的、有效的、可行的方法。Based on UML activity diagram, the system test method was described. Aiming at activity diagram semi-formal speciality,the activity diagram formal specification and the definition of test coverage rules were given. Then the permutation of intercurrent activity was analyzed. The interactive method between tester and computer enhanced the restriction of arithmetic on generating test scenario, reduced the number of testing scenario, promoted the feasibility of automatic generating test case. At last, how to get test case from test scenario was discussed. Thereby automatic generating test case from UML activity diagram became systemic, feasible and effective.

关 键 词:UML活动图 测试场景 测试用例自动生成 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象