期刊文献+

非定态路径测试问题的分析与一种转换算法

Formal Analysis of Nondeterminism Path Test Problem and a Transform Algorithm
下载PDF
导出
摘要 测试数据生成中使用静态分析法的主要问题之一是难以处理程序变量的不确定性 .本文对软件测试数据生成中的变量“不确定”问题进行了分析 ,认为该问题的实质是程序中变量本身的符号不确定性和程序的动态性 ,根据这个思路提出非定态路径、变符号变量、程序状态变量等概念 ,并将问题进行了形式化的描述 ,证明了非定态路径约束解空间可进一步划分为多个子空间 .在此结论的基础上 ,本文给出了一个将非定态路径测试转换为定态路径测试的算法 ,对非定态路径测试问题的理论分析和解决途径进行了有益的尝试 . In the field of automatic test data generation, a difficult problem is the nondeterminism of program variable, e.g., array problem and pointer problem. Array variants and pointer variants are defined as a special kind of variants, variants with variable symbol, and a path with variants with variable symbol is defined as a nondeterministic path. Generating testing data of a path is finding an input that satisfies the path constraint condition. By proving the input space satisfying the constraint of a nondeterministic path can be further partitioned into many sub-spaces, the nondeterminism is avoided when test data is searched only in a sub-space in theory. An algorithm is presented to find a sub-space by program slicing.
出处 《电子学报》 EI CAS CSCD 北大核心 2005年第2期258-261,共4页 Acta Electronica Sinica
基金 国家自然科学基金 (No .60 4 730 31 No .60 2 730 70 ) 江苏省自然科学基金 (No .BK2 0 0 4 1 1 9)
关键词 软件测试 非定态路径 变符号变量 数组和指针 Algorithms Computer aided software engineering Formal logic Program diagnostics
  • 相关文献

参考文献9

  • 1B Beizer.Software Testing Techniques[M].2nd edition,Van Nostrand Reinhold,1990.
  • 2Bogdan Korel.Automated software test data generation[J].IEEE Trans on Software Eng,1990,16(8):870-879.
  • 3N Gupta,A P Mathur,M L Soa.Automated test data generation using an iterative relaxation method[A].Proceedings of the ACM SIGSOFT Sixth International Symposium on Foundations of Software Engineering[C].Orlando,USA:ACM Press,November 1998.231-244.
  • 4奚红宇,徐红,高仲仪.Ada软件测试用例生成工具[J].软件学报,1997,8(4):297-302. 被引量:6
  • 5J Edvardsson.A survey on automatic test data generation[A].the Second Conference on Computer Science and Engineering in Link Ping[C].CCSSE'99,ProNova,Norrkoping:ECSEL Press,October,1999.21-28.
  • 6C V Ramamoorthy,S F Ho,W T Chen.Automated generation of program test data[J].IEEE Transactions on Software Engineering,1976,SE-2(4):293-300.
  • 7赵瑞莲,闵应骅.一种基于数据流分析的程序定义域自动确定方法[J].计算机辅助设计与图形学学报,2001,13(8):762-768. 被引量:3
  • 8Sandra Rapps,Elaine J Weyuker.Selecting software teat data using data flow information[J].IEEE Trans on Software Eng,1985,SE-11(4):367-374.
  • 9Tip F.A survey of program slicing techniques[J].Journal of Programming Languages,1995,3(3):121-189.

二级参考文献2

  • 1魏权龄,数学规划引论,1991年
  • 2郑人杰,计算机软件测试技术,1992年

共引文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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