期刊文献+

基于Petri网的软件测试用例的产生及分析 被引量:6

Generation and analysis of test cases based on Petri nets
下载PDF
导出
摘要 软件测试不仅要考虑到功能的正确性、覆盖的完整性,也应该考虑到测试用例的可行性。一种常用的产生测试用例的方法是路径覆盖,它是通过分析控制流来产生的,但是这样很可能产生不可行路径。论文运用Petri网来描述程序,并且按照一定的数学规则将此Petri网进行分解,得到独立的段组(Independent Segment Group,ISG)并产生测试用例,最后设计一个算法找到满足覆盖准则的最少测试用例。 Software testing must consider correctness of functional requirements,complete coverage and test case feasibility.One of the common used methods to generate test case is path coverage,which generates test case by analyzing the control flow.But it is possible to generate infeasible test path.In this paper,Petri nets is used to describe programs,and the Petri nets is decomposed based on some mathematics rules.Then we can get the Independent Segment Group(ISG) and thus generate the test cases.Finally an algorithm is designed to find the minimal test sets which also satisfy the coverage criteria.
出处 《计算机工程与应用》 CSCD 北大核心 2009年第17期57-60,共4页 Computer Engineering and Applications
基金 国家高技术研究发展计划(863)(No.2006AA01Z165)~~
关键词 PETRI网 独立段组(ISG) 测试用例 可行性 Petri nets independent segment group test ease feasibility
  • 相关文献

参考文献7

  • 1Lin Jin-Chemg,Ho Ian.Generating timed test cases with oracles for real-time software[J].Advances in Engineering Software,2001,32: 705-715.
  • 2Ho Lan,Lin Jin-cherng.Generating test case for real-time software by time Petri nets model[C]//Proceeding of the 8th Asian Test Symposium, 1990.
  • 3Yao Weili,He Xudong.Mapping Petri nets to parallel programs in CC++[C]//COMPSAC'96-20th Computer Software and Applications Conference, 1996.
  • 4Bertolino A,MarrC M.Automatic generation of path covers based on the control flow analysis of computer programs[J].IEEE Transaction on Software Engineering, 1994,20(12).
  • 5Ding Zuohua,Zhang Kao,Hu Jueliang.A rigorous approach towards test case generation[J].Information Sciences,2008,178:4057-4079.
  • 6Pezze M,Taylor R N,Young M.Graph models for reachability analysis of concurrent programs[C]//ACM Transactions on Software Engineering and Methodology, 1995.
  • 7Reisig W.A Primer in Petri net design[M].[S.l.]:Springer-Verlag, 1992.

同被引文献52

引证文献6

二级引证文献10

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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