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

计算机工程 ›› 2012, Vol. 38 ›› Issue (2): 54-56. doi: 10.3969/j.issn.1000-3428.2012.02.017

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

基于函数切片的嵌入式软件回归测试研究

程晓菊,李仁发   

  1. (湖南大学计算机与通信学院,长沙 410075)
  • 收稿日期:2011-07-19 出版日期:2012-01-20 发布日期:2012-01-20
  • 作者简介:程晓菊(1982-),女,硕士,主研方向:嵌入式软件测试与重构;李仁发,教授、博士生导师

Study of Embedded Software Regression Test Based on Function Slice

CHENG Xiao-ju, LI Ren-fa   

  1. (School of Computer and Communication, Hunan University, Changsha 410075, China)
  • Received:2011-07-19 Online:2012-01-20 Published:2012-01-20

摘要: 为提高中大型嵌入式软件回归测试的效率,克服因程序微小变动而导致对整个嵌入式软件系统重新测试的弊端,提出一种函数切片算法FunctionSlice。给出代码影响域的概念,采用函数切片思想对待回归测试用例集进行约简,选取和源代码变化相关的测试用例进行回归测试。实验结果表明,该算法能约简嵌入式软件中的待回归测试用例集,提高回归测试效率,且适用于较复杂的嵌入式系统回归测试过程。

关键词: 源代码变化, 测试用例集约简, 函数切片, 嵌入式软件测试, 大型嵌入式系统, 回归测试

Abstract: In order to improve the performance of regression test for large software and overcome the disadvantages of the entire retest of embedded software system because of the small changes in the source code, this paper presents FunctionSlice. It gives the conception of function slice. It reduces the regression test suites by slice ideas, selecting the test suite which is associated with source code changes for regression test. Experimental results show the algorithm substantially reduces the embedded software regression test suite and improves the efficiency of regression test. It is easy to be used on more complex embedded systems for the regression test process, and has great practicality.

Key words: source code change, test suite reduction, function slice, embedded software test, large-scale embedded system regression test

中图分类号: