期刊文献+

针对软件中2路并发行为完全覆盖的测试方法 被引量:2

Full coverage testing method for 2-Way concurrent behaviors in software
原文传递
导出
摘要 针对软件中2路并发行为的测试序列生成方法,提出一种基于面向测试着色Petri网(testing-oriented colored Petri net,To CPN)。根据被测软件系统需求构建ToCPN模型,即系统模型,并将待测行为采用着色Petri网(colored Petri net,CPN)进行描述,形成待测行为模型;提出待测行为模型到系统模型的状态投影算法、针对极大状态结点和极小状态结点的状态匹配算法及一系列路径搜索算法,基于以上算法构建出针对2路并发行为的测试序列生成方法。该方法针对待测行为自动生成测试序列,对待测行为所在的2路并发行为的全部执行组合实现完全覆盖且不存在任何冗余,一定程度上解决了软件测试中的状态爆炸问题。对上述算法的有效性提供了证明,并结合测试实践,分析说明了该方法具备明显强于随机漫步(random walk)等其他方法的效果。 A 2-Way concurrent behavior guided test sequences generation method for software testing is proposed,which is based on testing-oriented colored Petri net (ToCPN) models.Firstly,ToCPN model for software specification is constructed,called system model; and behavior under testing (BUT) is modeled with colored Petri net (CPN),called BUT model.A state projection algorithm from BUT model to system model is defined; a matching algorithm between maximal state node and minimal state node is proposed; a series of path searching algorithms in the state space of protocol model are shown.And our 2-Way concurrent behavior guided test sequence generation method is made up of these algorithms.Test sequences generated from this method cover all execution ways of BUT and do not contain any redundancy.The state explode problem in software testing is solved to a certain extent.The effectiveness of the method is proved formally,and practices show that the effect of this method is better than other methods such as random walk.
作者 孙涛 叶新铭
出处 《重庆邮电大学学报(自然科学版)》 CSCD 北大核心 2014年第6期727-736,共10页 Journal of Chongqing University of Posts and Telecommunications(Natural Science Edition)
基金 国家自然科学基金(61163011) 内蒙古自然科学基金(2012MS0922)~~
关键词 测试着色Petri网(ToCPN) 2路并发 外部观察点 测试序列 testing-oriented colored Petri net(ToCPN) 2-Way concurrent points of observing outside testing sequence
  • 相关文献

参考文献15

  • 1DALAL SR, JAIN A, KARUNANITHI N, et al. Model- Based Testing in Practice[ C]//Proc. of the 21st Interna- tional Conference on Software Engineering (ICSE 1999). Los Angeles, California, United States: Confer- ence Publications, 1999:285-294. 被引量:1
  • 2颜炯,王戟,陈火旺.基于模型的软件测试综述[J].计算机科学,2004,31(2):184-187. 被引量:74
  • 3AICHERNIG B, KRENN W, ERIKSSON H, et al. State of the Art Survey-Part a: Model-based Test Case Generation [ EB/OL]. [ 2014-04-11 ]. https ://www. rnogentes, eu/ public/MOGENTES_I-19a_I, lrD1,2_Survey_Part-a. pdf. 被引量:1
  • 4UTrING M. The Role of Model-Based Testing[ M]//Ver- ified Software : Theories, Tools, Experiments. Berlin Hei- delberg: Springer,2008: 510-517. 被引量:1
  • 5BROY M, IONSSON B, KATOEN J P, et al. Model-Based Testing of Reactive Systems [ M ]//LNCS 3472, Heidel- berg: Springer,2005. 被引量:1
  • 6CONSTANT C,JERON T, MARCHAND H, et al. Integra- ting Formal Verification and Conformance Testing for Re- active Systems [ J ]. IEEE Transaction on Software Engi- neering ,2007,33 ( 8 ) :558-574. 被引量:1
  • 7WATANABE H, KUDOH T. Test Suite Generation Meth- ods for Concurrent Systems based on Coloured Petri Nets [ C ]// Proc. of the 2rid Asia-Pacific Software Engineer- ing Conference ( APSEC 1995 ). Brisbane, Australia: Cmfference Publications, 1995 : 242-251. 被引量:1
  • 8DESEL J, OBERWEIS A, ZIMMER T, et al. Validation of Information System Models: Petri Nets and Test Case Generation [ C]//Proc of the 10th IEEE International Conference on Systems, Man, and Cybernetics ( SMC 1997). Orlando, Florida, United States : Conference Pub- lications, 1997 : 3401-3406. 被引量:1
  • 9FAROOQ U,LAM CP,LI H. Towards Automated Test Se- quence Generation[ C ]//Proe of the 19th Australian Con- ference on Software Engineering (ASWEC 2008 ). Perth, Australia: Conference Publications ,2008:441 450. 被引量:1
  • 10李华,叶新铭.基于Petri网的数据流与控制流相结合的协议测试[J].内蒙古大学学报(自然科学版),1998,29(5):702-709. 被引量:5

二级参考文献23

  • 1[1]Gronau I, Hartman A, Kirshin A, Nagin K, Olvovsky S. A methodology and architecture for automated software testing. http://www.haifa.il.ibm.com/projects/verification/gtcb/papers/gtcbmanda.pdf, 2000 被引量:1
  • 2[2]Chow T S. Testing design modeled by finite-state machines. IEEE Transactions on Software Engineering, 1978,4(3): 178~187 被引量:1
  • 3[3]Offutt J, Abdurazik A. Generating test cases from UML specifications. UML' 99, USA, 1999 被引量:1
  • 4[4]Poore J H. Introduction to the special issue on: model-based statistical testing of software intensive systems. Information and Software Technology, 2000, 42(12):797~799 被引量:1
  • 5[5]Beizer B. Black-Box Testing: Techniques for Functional Testing of Software and Systems, Wiley, New York, USA, 1995 被引量:1
  • 6[6]Jorgensen A, Whittaker J A. An API Testing Method. STAREAST' 00, USA, 2000 被引量:1
  • 7[7]Fujiwara S, Bochmann G, Khendek F.Test selection based on finite state models. IEEE Transactions on Software Engineering, 1991, 17(6): 591~603 被引量:1
  • 8[8]Rosaria S, Robinson H. Applying models in your testing process. Information and Software Technology, 2000, 42(12): 815~824 被引量:1
  • 9[9]Whittaker J A. Stochastic software testing. The Annals of Software Engineering, 1997, 4:115~131 被引量:1
  • 10[10]Liu C, Richardson D J. Using application states in software testing. ICSE'00, Ireland, 2000 被引量:1

共引文献76

同被引文献4

引证文献2

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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