计算机科学与探索 ›› 2013, Vol. 7 ›› Issue (5): 405-411.DOI: 10.3778/j.issn.1673-9418.1211020

• 学术研究 • 上一篇    下一篇

软件兼容性测试的故障定位分析

赵  勇1,2+,张智强1,2,严  俊3,张  健1,2   

  1. 1. 中国科学院 软件研究所 计算机科学国家重点实验室,北京 100190
    2. 中国科学院大学 信息工程学院,北京 100190
    3. 中国科学院 软件研究所 软件工程技术研究开发中心,北京 100190
  • 出版日期:2013-05-01 发布日期:2013-05-03

Analysis of Fault Location in Software Compatibility Testing

ZHAO Yong1,2+, ZHANG Zhiqiang1,2, YAN Jun3, ZHANG Jian1,2   

  1. 1. State Key Laboratory of Computer Science, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
    2. College of Information Engineering, University of Chinese Academy of Sciences, Beijing 100190, China
    3. Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100190, China
  • Online:2013-05-01 Published:2013-05-03

摘要: 为了有效降低软件兼容性测试的测试成本,提高测试精度和简化测试过程,设计了一种基于组合测试的建模方案。基于该建模方案,提出了一种软件兼容性测试的故障定位分析方法。该方法首先针对需要进行兼容性测试的软件集建立组合测试模型;然后用组合测试用例生成工具Cascade对该模型生成测试用例集,并执行这些测试用例集得到结果;最后将这些测试用例及其执行结果作为组合测试错误定位工具Facil的输入,从而精确定位出发生兼容性错误的软件组合。实验表明,该方法步骤简捷,结果有效、可靠,在一定程度上降低了测试成本,提高了测试精度,简化了测试过程。

关键词: 兼容性测试, 组合测试, 错误定位

Abstract: This paper proposes a new model for fault location about software compatibility testing based on combinatorial testing in order to lower cost, improve accuracy and simplify process during test. Based this model, this paper proposes a method to analyze fault location in compatibility testing. First of all, the model is built for softwares which need to do compatibility testing. After that, the tool Cascade is used to generate test cases for this model which are executed and get results. Finally, these test cases and execution results are input as the tool of Facil which is used for fault location about combinatorial testing. Facil will precisely find software set which causes the compatibility fault. Experiments show that the process of this method is simple and the result is effective and reliable. To some extent, it lowers cost, improves accuracy and simplifies process during test.

Key words: compatibility testing, combinatorial testing, fault location