期刊文献+

基于分支函数线性逼近的测试数据自动生成算法

Algorithm for automated test data generation based on branch function linear approximation
下载PDF
导出
摘要 软件测试是保证软件可靠性的一个重要手段。面向路径测试是软件测试中一种重要方法。提出了一种分支函数线性逼近的测试数据自动生成算法。结合赵瑞莲给出的谓词切片算法和程序DUC表达方式以及本文提出的算法,给出了一个基于程序执行的路径测试及测试数据自动生成新算法。由于算法采用DUC表达式,不仅可以从源端判断子路径是否可行,而且有效地降低了不可行路径对算法性能的影响。另外,与现有文献中单纯利用分支函数极小化方法的算法相比,新算法由于有机结合了分支函数线性逼近和极小化方法的长处,因此减少了测试用例的数量,提高了测试效率。 Software test is a key way to guarantee the software's reliability. Path oriented testing is a main approach in software test. A new innovative algorithm for automated test data generation based on branch function linear approximation was presented. A new algorithm for paths oriented tests of program execution and automated test data generation was given by combining the method of predicate slice of ZHAO Rui-lian and Definition Use Control (DUC) expression and the algorithm proposed by this paper. It can not only automatically find out all of the feasible paths from source in the program, but also decrease the impact of infeasible paths efficiently because of DUC expression of the algorithm. In addition, compared to those algorithms with minimization of branch function presented in some reference documentations, since the novel algorithm integrates advantages of linear approximation and the minimization of branch function, so it can reduce the quantity of test cases and improve the test efficiency.
出处 《计算机应用》 CSCD 北大核心 2008年第B06期250-253,256,共5页 journal of Computer Applications
关键词 路径测试 测试数据自动生成 谓词切片 线性逼近 分支函数极小化 path oriented testing automated test data generation predicate slice linear approximation minimization of branch function
  • 相关文献

参考文献11

  • 1BOEHM B W. The high cost of software[ C]// Practical Strategies for Developing Large Software Systems. Reading, MA: Addison- Wesley, 1975.
  • 2CANGUSSU J W, DECARLO R A, MATHUR A P. A formal model for the software test process [ J]. IEEE Transaction on Software Engineering, 2002,28:782-796.
  • 3DEASON W H, BROWN D B, CHANG K, et al. A rule based software test data generator[ J]. IEEE Transaction on Knowledge and Data Engineering, 1991,3(1): 108-116.
  • 4赵瑞莲,闵应骅.基于谓词切片的字符串测试数据自动生成[J].计算机研究与发展,2002,39(4):473-481. 被引量:4
  • 5JESSOP W, KANEM J, ROY S, et al. ATLAS - an automated software testing system[ C]//International Conference on Software Engineering. Los Alamito, CA, USA: IEEE Computer Society Press, 1976:629-635.
  • 6DEMIUO R A, OFFITT A J. Constraint-based automatic test data generation[ J]. IEEE Transactions on Software Engineering, 1991, 17(9): 900 -910.
  • 7CLARKE L A. A system to generate test data and symboIicaIIy execute programs [ J]. IEEE Transactions on Software Engineering, 1976, SE2(3) : 215 -222.
  • 8KOREL B. Automated software test data generation [J]. IEEE Transactions on Software Engineering, 1990, 16(8) :870 -879.
  • 9GALLAGHER M J, NARSIMHAN V L. ADTEST: A test data generation suite for ada software systems[ J]. IEEE Transactions on Software Engineering, 1997, 23:473 -454.
  • 10MILLER W, SPOONER D L. Automatic generation of floating-point test data[ J]. IEEE Transactions on Software Engineering, 1976, SE2(3) : 223 - 226.

共引文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部