期刊文献+

基于Petri网的并发程序测试用例产生方法 被引量:2

Test Case Generation Method for Concurrent Programs Based on Petri Net
在线阅读 下载PDF
导出
摘要 并发程序的测试路径具有不可预测性,而Petri网在描述并发方面具有其它系统模型无法比拟的优势。因此通过Petri网来产生并发程序的测试路径:对有并发程序的源代码构造的Petri网模型进行图形矩阵转换;按照一定的规则得出相应的独立段组;合并独立段组得出网的独立段群,此独立段群即为该并发程序的测试路径。实验证明,将Petri网用于并发程序测试用的例生成降低了测试难度,提高了测试效率。 Petri nets have an incomparable advantage of describing the unpredictable testing path of concurrent program.This article made test path of concurrent programs with Petri nets,transformed graphic matrix about Petri net model which is made of concurrent program code,found the corresponding independent segment group according to certain rules,and obtained the independent segment groups of Petri nets which is the test path of the concurrent programs,by merging independent segment group.Experiment shows that the using of Petri nets in concurrent programs testing reduces the test difficulty and improves the test efficiency in concurrent programs testing.
出处 《计算机科学》 CSCD 北大核心 2011年第9期135-138,共4页 Computer Science
关键词 并发程序 PETRI网 独立段群 Concurrent programs Petri nets Independent segment groups
  • 相关文献

参考文献13

  • 1Wong W E, Lei Y, Ma Xiao. Effective Generation of Test Sequences for Structural Testing of Concurrent Programs[C]//Proceedings of the 10th IEEE International Conference on Engineering of Complex Computer Systems. Shanghai, China. IEEE Computer Society Press, 2005 .. 539-548.
  • 2Long D L, Clarke L A. Task Interaction Graphs for Concurrency Analysis[C]//Proeeedings of the 11th International Conference on Software Engineering. Pittsburg, PA, USA. IEEE Computer Soeiety/ACM Press, May 1989 :44-52.
  • 3Demartini C,Sisto R. Static Analysis of Java Multithreaded and Distributed Applications[C]// Proceedings of the International Symposium on Software Engineering for Parallel and Distributed Systems. Kyoto, Japan. IEEE Computer Society Press, April, 1998:215-222.
  • 4Katayama T, Furukawa Z, Ushijima K. Event Interactions Gr - aph for Test-case Generation of Concurrent Programs[C]//Proceedings of the 2nd Asia-Pacific Software Engineering Conference. Brisbane, Queensland, Australia. IEEE Computer Society Press, December 1995 : 29-37.
  • 5Herzog O. Static Analysis of Concurrent Processes for Dynamic Properties Using Petri Nets[C]//Kahn G, ed. Proceedings of the International Symposium on Semantics of Concurrent Computation(SCC' 79 ). Evian, France. Springer Press. July 1979 : 66- 90.
  • 6Murata T,Shenker B,Shatz S M. Detection of Ada Static Dead- locks Using Petri Net Invariants[J]. IEEE Transactions on Software Engineering, 1989,15(3) : 314-326.
  • 7Notomi M, Murata T. Hierarchical Reachability Graph of Bo - unded Petri Nets for Concurrent-Software Analysis[J]. IEEE Transactions on Software Engineering, 1994,20(5):325-336.
  • 8Cheng J, Ushijima K. Analyzing Ada Tasking Deadlocks and Livelocks Using Extended Petri Nets[C]//hristodoulakis D, ed. Proceedings of the 10th Ada-Europe International Conference, Ada: The Choice for ' 92. Athens, Greece. Springer Press, May 1991 : 125-146.
  • 9Chamillard A T, Clarke L A. Improving the Accuracy of Petri Net-based Analysis of Concurrent Programs[C]//Zeil S J, ed. Proceedings of the International Symposium on Software Testing and Analysis. San Diego, CA, USA, 1996 : 24-38.
  • 10蒋昌俊,陆维明.基于Petri网语言的并发系统性质研究(英文)[J].软件学报,2001,12(4):512-520. 被引量:7

二级参考文献13

  • 1许安国,吴哲辉.加权T图的活性分析[J].软件学报,1993,4(6):16-21. 被引量:6
  • 2陆维明,林闯.生产系统的Petri网模型[J].自动化学报,1993,19(3):290-299. 被引量:10
  • 3林闯.随机Petri网和系统性能评估[M].北京:清华大学出版社,2000.19-23.
  • 4Lin Jin-Chemg,Ho Ian.Generating timed test cases with oracles for real-time software[J].Advances in Engineering Software,2001,32: 705-715.
  • 5Ho 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.
  • 6Yao Weili,He Xudong.Mapping Petri nets to parallel programs in CC++[C]//COMPSAC'96-20th Computer Software and Applications Conference, 1996.
  • 7Bertolino 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).
  • 8Ding Zuohua,Zhang Kao,Hu Jueliang.A rigorous approach towards test case generation[J].Information Sciences,2008,178:4057-4079.
  • 9Pezze M,Taylor R N,Young M.Graph models for reachability analysis of concurrent programs[C]//ACM Transactions on Software Engineering and Methodology, 1995.
  • 10Reisig W.A Primer in Petri net design[M].[S.l.]:Springer-Verlag, 1992.

共引文献26

同被引文献21

  • 1陈铭松,赵建华,李宣东,郑国梁.时间自动机可达性分析中的状态空间约减技术综述[J].计算机科学,2006,33(6):1-6. 被引量:3
  • 2徐艳丽,张亚玲,张毅坤.基于CPNs场景模型的测试用例生成技术研究[J].计算机工程,2006,32(16):80-82. 被引量:5
  • 3郑大鹏,陈雅文.程序设计基础教程(C语言)[M].北京:清华大学出版社,2011.
  • 4Wang Chun-Chia, Pai W C, Chiang Ding-Jung.Using a Petri net modal approach to object-oriented class testing[C]// IEEE SMC' 99 Conference Proceedings.Tokyo, Japan: IEEE, 1999 : 824-828.
  • 5徐李勤,王洁宁.基于层次有色Petri网的软件测试用例选取研究[C]//全国第二届信号处理与应用学术会议,南宁,2008:572-575.
  • 6Jensen K, Kristensen L M,Coloured Petri nets[M].Ber. lip/Heidelberg Springer.Vorlag, 2009.
  • 7Jensen K.Coloured Petri nets: basic concepts, analysis methods, and practical use, volume 2[M].Berlin : Springer- Verlag, 2003.
  • 8Clay Breshears. The Art of Concurrency [ M ]. New York : O'Rilly Media,2009.
  • 9Biberstein M, Farchi E, Ur S. Choosing Among Alternative Pasts[ C ] // Proceedings of the 17th International Parallel and Distributed Processing Symposium. [ s. l ] IEEE Com- puter Society Press, 2003. 289 (4) : 22-26.
  • 10濮方刑.并行程序测试的关键技术研究[D].武汉:华中科技大学计算机科学与技术学院,2009.

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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