期刊文献+

一种用于软件测试的程序结构划分方法 被引量:1

A Program Structure Partition Method Used for Software Testing
下载PDF
导出
摘要 软件测试中的结构性测试是以程序的结构为基础生成测试用例 ,以测试准则来判定测试的充分性 .由于程序结构的复杂性 ,难于保证对程序进行充分而高效的测试 .本文提出了一种基于程序依赖图的程序结构划分的测试方法 ,即程序块划分法 .该方法通过对程序进行结构划分 ,将复杂的程序分解为若干程序块 ,并通过程序块间的数据依赖关系导出各程序块的语义 。 Structural testing, a kind of software testing, generates test cases based on program code, and then judges the completeness of the testing based on the testing criterion. Because of the complexity of programs, it's hard to make a complete and efficient testing on programs. The paper presents a program structure partition method based on the program dependence graph, i.e. Program Block Partition Method, which eases the testing process. With this method, a complex program is divided into several program block, for which the semantic is deduced by the data-dependence relations. So the testing can be done independently on the program block level.
出处 《小型微型计算机系统》 CSCD 北大核心 2002年第4期492-495,共4页 Journal of Chinese Computer Systems
关键词 软件测试 结构性测试 程序依赖图 程序块划分 程序结构划分方法 软件开发 software testing structural testing program dependence graph program block partition
  • 相关文献

参考文献8

  • 1[1]Janusz W.Laski and Bogdan Korel.A data flow oriented pro gram testing strategy[J].IEEE Trans.on Software Eng.,May 1983.9(3) :347~354
  • 2[2]Istvan Forgacs and Antonia Bertolino.Feasible test path selec tion by principle slicing[J].ACM Software engineering Notes.July 1997.22(4):378~394
  • 3[3]D.F.Yates and N.Malevris.Reducing the effects of infeasible paths in branch testing[J].ACM SIGSOFT Software Engineer-ing Notes,1989 14(8) :48~54
  • 4[4]K.J.Ottenstein and L.M.Ottenstein.The Program depen dence graph in a software development enviroment [J].ACM SIGPLAN Notices,1984.19(5) :177~184
  • 5[5]Jeanne Ferrante,Karl J.Ottenstein,and Joe D.Warren.The program dependence graph and its uses in optimization[J].ACMTransactions on Programming Languages and Systems,July 1987.9(3) :319~349
  • 6[6]A.V.Aho,John E.Hopcroft and J.D.Ullman.The design and analysis of computer algorithms [M ].Addison-Wesley,1976.
  • 7[7]A.V.Aho,J.D.Ullman.Principles of compiler design[M].Addison-Wesley,1977.
  • 8[8]Sriram Sankar,Roger Hayes.Specifying and testing software components using ADL[Z].SMLI TR-94-23.

同被引文献3

引证文献1

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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