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

计算机工程 ›› 2009, Vol. 35 ›› Issue (17): 40-42,4. doi: 10.3969/j.issn.1000-3428.2009.17.013

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

MC/DC最小测试用例集快速生成算法

段飞雷,吴 晓,张 凡,董云卫   

  1. (西北工业大学计算机学院,西安 710072)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-09-05 发布日期:2009-09-05

Rapidly Generating Algorithm for Minimum Test Case Set on MC/DC

DUAN Fei-lei, WU Xiao, ZHANG Fan, DONG Yun-wei   

  1. (School of Computer, Northwestern Polytechnical University, Xi’an 710072)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-09-05 Published:2009-09-05

摘要: 以条件判定组合的语法树为研究对象,总结语法树的左右分支对判定结果的影响方式及结果,根据其影响特点提出超越语法树的快速生成改进判定/条件覆盖最小测试用例集的算法。与其他算法在在空间及时间方面进行比较,结果表明该算法具有一定的优越性。

关键词: 改进判定/条件覆盖, 最小测试用例集, 快速生成算法

Abstract: This paper studies syntactic tree of combination of conditions and decision, and what is influence of decision of the left and right branches of the syntactic tree, and how it does on results. According to the influence, an algorithm is presented to rapidly generate minimum test case on MC/DC without concerning structure of syntactic tree. An implementation of this algorithm is developed to do an experiment. Comparing with others, experimental data shows that it is excellent to rapidly generate test case set with MC/DC.

Key words: MC/DC, minimum test case set, rapidly generating algorithm

中图分类号: