作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (2): 81-82. doi: 10.3969/j.issn.1000-3428.2010.02.029

• 软件技术与数据库 • 上一篇    下一篇

基于UML状态图的类测试技术

周清雷,张文宁,赵东明,李喜艳   

  1. (郑州大学信息工程学院,郑州 450001)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-01-20 发布日期:2010-01-20

Class Test Technology Based on UML State Chart

ZHOU Qing-lei, ZHANG Wen-ning, ZHAO Dong-ming, LI Xi-yan   

  1. (Information Engineering College, Zhengzhou University, Zhengzhou 450001)
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-01-20 Published:2010-01-20

摘要: 针对基于状态的类测试技术缺陷检测率较低的问题,提出一种使用等价类划分和边界值分析等功能性测试方法构建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

中图分类号: