摘要: 针对基于状态的类测试技术缺陷检测率较低的问题,提出一种使用等价类划分和边界值分析等功能性测试方法构建UML状态图的方法,描述基于W方法的测试序列生成策略,使用Mujava变异工具对方法的有效性进行检测。实验结果表明,该测试策略具有较高的缺陷检测率。
关键词:
类测试,
UML状态图,
测试序列,
变异测试
Abstract: For solving the low defect detection rate of traditional class test technology based on state, the state construction approach based on functional test methods, such as equivalence partitioning and boundary analysis is given. The strategy of using W method to generate test sequences is described. Experimental result based on Mujava shows that the class test strategy has effective defect detection rate.
Key words:
class test,
UML state chart,
test sequence,
mutation test
中图分类号:
周清雷;张文宁;赵东明;李喜艳. 基于UML状态图的类测试技术[J]. 计算机工程, 2010, 36(2): 81-82.
ZHOU Qing-lei; ZHANG Wen-ning; ZHAO Dong-ming; LI Xi-yan. Class Test Technology Based on UML State Chart[J]. Computer Engineering, 2010, 36(2): 81-82.