摘要
提出了一种基于UML序列图的面向对象类簇级测试的方法。这种方法根据序列图进行分析提取类交互信息和用户的输入数据生成测试用例,并根据序列图对代码进行插桩,构造测试模块;最后测试驱动器执行测试模块得到测试结果。该方法也支持UML2.0中为序列图添加的新特征。
Base on sequence diagrams, this paper proposed an approach for object-oriented testing at class and cluster-levels. According to sequence diagrams, this approach can pick up class interaction information, generate testing case. And this approach can insert some probe function into source code to generate a testing instruction. Finally, it run the testing instruction by test driver and generates test result. This approach includes solution for sequence diagrams' new characters presented in UML2.0.
出处
《计算机应用研究》
CSCD
北大核心
2008年第1期151-153,共3页
Application Research of Computers
基金
湖北省自然科学基金资助项目(2005ABA256)
关键词
规格说明
面向对象
统一建模语言
序列图
软件测试
specification
object-oriented
UML( unified modeling language)
sequence diagram
software testing