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

一种基于路径的测试数据自动生成算法
引用本文:陈继锋,朱 利,沈钧毅,陈 玲.一种基于路径的测试数据自动生成算法[J].控制与决策,2005,20(9):1065-1068.
作者姓名:陈继锋  朱 利  沈钧毅  陈 玲
作者单位:1. 西安交通大学,计算机软件研究所,西安,710049
2. 西安交通大学,软件学院,西安,710049
3. 长安大学,信息工程学院,西安,710064
基金项目:国家863高技术研究发展计划基金项目(2003AA1Z2610).
摘    要:提出了一种新的基于路径测试数据自动生成的算法,该算法将路径中的线性谓词函数直接作为线性算术表示来构造谓词函数关于输入变量的线性约束,仅当谓词函数是输入变量的非线性函数时,才计算其线性算术表示,因而不必计算所有谓词函数的线性算术表示,也不必计算谓词片和确定输入依赖集,以及构造谓词函数关于输入变量的增量的线性约束,理论分析和实例证明,该算法具有简单、容易、有效且计算量小等特点。

关 键 词:谓词函数  线性约束  线性算术表示  输入变量
文章编号:1001-0920(2005)09-1065-04
收稿时间:2004-10-15
修稿时间:2005-03-16

Path-Based Automatic Test Data Generation Approach
CHEN Ji-feng,ZHU Li,SHEN Jun-yi,CHEN Ling.Path-Based Automatic Test Data Generation Approach[J].Control and Decision,2005,20(9):1065-1068.
Authors:CHEN Ji-feng  ZHU Li  SHEN Jun-yi  CHEN Ling
Affiliation:la. Institute of Computer Software, lb. School of Software, Xi'an Jiaotong University, Xi'an 710049, China. 2. School of Information Engineering, Chang'an University, Xi'an 710055, China. Correspondent: CHEN Ji-feng, E-mail :jfchen@mail.xjtu. edu. cn
Abstract:A new approach to path-based automatic test data generation is presented. The linear predicate function on a given path is directly used as linear arithmetic representation to construct linear constrains of predicate functions for input variables. Only if the predicate function is nonlinear, the linear arithmetic representation needs to be computed. The constructions of predicate slice, input dependency set and the linear constraint of predicate function on the increments for the input are no longer needed. Theoretical analysis and practical test show that this approach is simple effective, and takes less computation.
Keywords:Predicate function t Linear constrain  Linear arithmetic representation  Input variable
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《控制与决策》浏览原始摘要信息
点击此处可从《控制与决策》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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