期刊文献+

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

Automatic Test Sequences Generation Technology Based on Data Flow Rules
下载PDF
导出
摘要 测试用例自动生成技术是软件测试的一个重要研究领域,而如何从待测试程序中选取适当的测试序列集合是其中的一个关键问题。文章提出一种构造结构性测试序列集合的方法,此方法首先对待测试程序进行静态分析,然后根据程序的语句间关系生成程序图,最后基于数据流测试准则,根据程序图以及变量的定义和使用信息构造结构性测试序列集合。在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.
出处 《微电子学与计算机》 CSCD 北大核心 2005年第5期131-135,共5页 Microelectronics & Computer
基金 国家(863)计划资助(2003AA1Z2610)
关键词 软件测试 数据流 测试序列 Software test, Dataflow, Test sequence
  • 相关文献

参考文献10

  • 1Gupta N, Mathur, A P, Soffa M L. Generating Test Data For Branch Coverage. Automated Software Engineering,2000. Proceedings ASE 2000. The Fifteenth IEEE International Conference on, Sept. 2000: 219~227.
  • 2Neelam Gupta, Aditya P. Mathur, Mary Lou Soffa. Automated Test Data Generation using An Iterative Relaxation Method. ACM SIGSOFT Sixth International Symposium on Foundations of Software Engineering (FSE-6), Orlando,Florida, November 1998:231~244.
  • 3Neelam Gupta, Aditya P Mathur, Mary Lou Soffa. UNABased Iterative Test Data Generation and its Evaluation",14th IEEE International Conference on Automated Software Engineering(ASE'99), Cocoa Beach, Florida, October 1999: 224~232.
  • 4DeMilli R A, Offutt A J. Constraint-based Automatic Test Data Generation. Software Engineering, IEEE Transactions on, Sept. 1991,17(9): 900~910.
  • 5Lapierre, S, Merlo E, Savard G, Antoniol G, Fiutem R,Tonelia P. Automatic Unit Test Data Generation Using Mixed-Integer Linear Programming and Execution Trees.Software Maintenance. 1999. (ICSM'99) Proceedings.IEEE International Conference on, Sept. 1999, 30(3): 189~198.
  • 6(美)Paul C.Jorgensen,Software Testing:A craftsman's Approach(Second Edition),北京:机械工业出版社,2003,58:143~159.
  • 7李庆华,刘金根,缪天鹏,党建国.一种基于类数据流的软件测试技术[J].华中科技大学学报(自然科学版),2003,31(11):17-19. 被引量:3
  • 8暴建民,王申科.关于可应用测试数据充分性准则复杂性的注记[J].计算机学报,1999,22(4):437-441. 被引量:1
  • 9王建国,吴建平.基于扩展有限状态机的协议测试集生成研究[J].软件学报,2001,12(8):1197-1204. 被引量:24
  • 10Weyuker E J. The complexity of data flow criteria for test data selection. Information Processing Letter, 1984, 19(8):103~109.

二级参考文献6

  • 1Weyuker, Elaine J. The cost of data flow testing: an empirical study. IEEE Transaction on Software Engineering, 1990, 16(2): 121-128.
  • 2Wilde N, Huitt R. Maintenance support for objectoriented programs. IEEE Transaction on Software Engineering, 1992, 18(12): 1 038-1 044.
  • 3Wang Jianguo,Proc IEEE Int Conference on Communications,1998年,286页
  • 4Huang Chungming,Proc Int Workshop on Protocol Test Systems(IWPTS),1995年,273页
  • 5Chanson S T,Proc IEEE INFOCOM,1993年,106页
  • 6Shen Y N,IEEE Transactions Communications,1992年,40卷,8期,323页

共引文献25

同被引文献67

引证文献10

二级引证文献23

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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