期刊文献+

基于控制流的形式化程序测试 被引量:1

A Formal Testing of Program Based on Control Flow
下载PDF
导出
摘要 为避免现有产生测试用例过程中隐含的不可行路径和状态爆炸问题,提出一种对基于流的序列程序产生测试用例的形式化方法。该方法定义了条件和循环覆盖准则后,通过条件演算对序列程序生成测试用例。程序执行是基于程序语义进行,避免了隐含的不可行路径,复杂度分析表明该方法可以避免状态爆炸问题。 In order to avoid the infeasible path and state explosion problem during test cases generation, this paper presents a formal method to generate test cases for sequential programs written in a flow based program language. According to the coverage criterion defined, test cases of sequential programs are generated based on condition calculation. Compared with some formal testing methods, the new method can avoid hitting infeasible path. Moreover, the complexity analysis reveals that the new method also can avoid state explosion problem.
作者 章靠 丁佐华
出处 《浙江理工大学学报(自然科学版)》 2008年第3期287-291,共5页 Journal of Zhejiang Sci-Tech University(Natural Sciences)
基金 国家863基金资助项目(2006AA01Z165)
关键词 软件测试 序列程序 形式化方法 software testing sequential programs formal method
  • 相关文献

参考文献11

  • 1[1]Dahl O J,Dijkstra E W,Hoare C A R.Structured Programming[M].3 edition.London:Academic Press,1972.
  • 2[2]Duran J,Ntafos S.An evaluation of random testing[J].IEEE Transactions on Software Engineering,1984(4):438-444.
  • 3[3]Weyuker E J,Jeng B.Analyzing partition testing strategies[J].IEEE Transactions on Software Engineering,1991,17(7):703-711.
  • 4[4]Yang R D,Chung C G.Path analysis testing of concurrent programs[J].Information and Software Technology,1992,34(1):43-56.
  • 5[5]Heimdahl M P E,Rayadurgam S,Visser W,et al.Auto-generating test sequences using model checkers:a case study[J].Lecture Notes in Computer Science 2931,2003:42-59.
  • 6[6]Clarke E M,Grumberg O,Peled D.Model Checking[M].MIT Press,1999.
  • 7[7]Lei Y,Carver R H.Reachability testing of concurrent programs[J].IEEE Transactions on Software Engineering,2006,32(6):382-403.
  • 8[8]Balaban I J.An optimal algorithm for finding segment intersections[C].Proc 11th Ann ACM Sympos Comp Geom,1995:211-219.
  • 9[9]Hohm C,Jacopini G.Flow diagram,turing machines and languages with only two formation rules[J].Communications of ACM,1966(9):366-371.
  • 10[10]Kernighan K W,Ritchie D M.The C programming language[M].Englewood Cliffs,NJ:Prentice-Hall,1978.

同被引文献5

引证文献1

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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