首页 | 本学科首页   官方微博 | 高级检索  
     

一种结构测试数据自动生成的框架
引用本文:陈继锋,沈钧毅,王志海,王欣峻.一种结构测试数据自动生成的框架[J].计算机工程,2007,33(8):6-9.
作者姓名:陈继锋  沈钧毅  王志海  王欣峻
作者单位:1. 湖南涉外经济学院计算机系,长沙,410205
2. 西安交通大学电子与信息工程学院,西安,710049
基金项目:国家高技术研究发展计划(863计划)
摘    要:针对结构测试中控制流和数据流覆盖测试数据的生成都可以归结为面向路径的测试数据生成的问题,提出了一个通用的基于控制流和数据流的结构测试数据自动生成的框架。该框架根据控制流和数据流测试中所采用的覆盖标准优化选取测试路径,并以改进后的迭代松弛法为核心,对所选取的路径生成测试数据。以基于路径覆盖、分支覆盖和数据流覆盖测试数据自动生成这3种算法为核心,开发了一个测试数据自动生成的框架原型。实验结果表明该框架是可行的。

关 键 词:结构测试  控制流  数据流  测试数据自动生成
文章编号:1000-3428(2007)08-0006-04
修稿时间:2006-04-29

Framework of Automatic Test Data Generation for Software Structure
CHEN Jifeng,SHEN Junyi,WANG Zhihai,WANG Xinjun.Framework of Automatic Test Data Generation for Software Structure[J].Computer Engineering,2007,33(8):6-9.
Authors:CHEN Jifeng  SHEN Junyi  WANG Zhihai  WANG Xinjun
Affiliation:(1. Department of Computer, Hunan International Economics University, Changsha 410205; 2. School of Electronics &; Information Engineering, Xi’an Jiaotong University, Xi’an 710049)
Abstract:A new framework of automatic test data generation is developed due to the test data generation for control flow and data flow coverage can be merged to path-oriented test data generation in software construction testing.The coverage criteria for control flow and data flow are used to optimize the selection of test path.The approach on path-based automatic test data generation is used to generate test data for the selected path.A prototype on the framework is developed based on the automatic test data generation for path-based,branch and data flow coverage.Test results show that the framework is feasible.
Keywords:Structure test  Control flow  Data flow  Automatic test data generation
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号