基于数据流的软件测试序列自动生成技术研究  被引量:10

Automatic Test Sequences Generation Technology Based on Data Flow Rules

在线阅读下载全文

作  者:刘勇[1] 曾明[1] 朱利[1] 陈继峰[1] 严建伟[1] 

机构地区:[1]西安交通大学电子与信息工程学院,陕西西安710049

出  处:《微电子学与计算机》2005年第5期131-135,共5页Microelectronics & Computer

基  金:国家(863)计划资助(2003AA1Z2610)

摘  要:测试用例自动生成技术是软件测试的一个重要研究领域,而如何从待测试程序中选取适当的测试序列集合是其中的一个关键问题。文章提出一种构造结构性测试序列集合的方法,此方法首先对待测试程序进行静态分析,然后根据程序的语句间关系生成程序图,最后基于数据流测试准则,根据程序图以及变量的定义和使用信息构造结构性测试序列集合。在Linux平台上使用这种方法对若干条程序进行分析处理,得到的测试序列集合可以使待测试程序得到充分测试。本文提出的方法具有比较高的测试覆盖,同时,在计算过程中避免了无用路径的生成,节省了算法空间和执行时间。Automatic test case generation technology is an important research area of software testing. How to select a set of test sequences from a program is a key problem of the automatic test case generation technology. This paper proposes a method to structure the test sequences. First, this method makes static analysis on the program to be tested, then draws the program graphic. At last, this method structures the test sequence according to the program graphic and the defining information and using information of the variables based on data flow rules. We analyzed several programs on Linux and sets of test sequences we got could test those programs enough. This method has high covering rate. And saves space and time cost through avoiding useless paths.

关 键 词:软件测试 数据流 测试序列 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象