期刊文献+

Markov链使用模型的测试用例生成方法研究 被引量:3

Test Case Generation Based on Markov Chain Usage Model
下载PDF
导出
摘要 采用基于马尔科夫链使用模型的软件测试,在状态与激励序列中,从"开始"状态到"结束"状态形成一个完整的测试案例。因此,输入和激励的选择对于产生高效的测试案例十分重要。提出一种激励选择——带概率约束的随机选择方法,以软件Markov链模型的状态迁移概率作为激励选择的约束条件,使用遗传算法中用于选择下一代种群的选择算子——轮盘赌选择算子对激励进行选择。通过与以往的激励选择方法对比,验证了所提出的方法能提高生成测试用例的有效性。 In software testing based on Markov chain usage model, the sequence of state and stimulus from state"Start"to state"Exit" is a complete test case. Therefore, test input, stimulus, is very important to generate effective test case. Focusing on this, a method for selecting stimulus is proposed in the paper, called a random selection algorithm with probability constrained. This method uses the migrating probability between states of Markov chain usage model as constraints, selects stimulus by roulette selection operator, and then gets the next state. Roulette selection operator is used in genetic algorithm to select next generation of species. In this paper, it is used to select stimulus at every state. Compared with the previous selection method, random selection algorithm with probability constrained can improve the effectiveness of test cases.
作者 雷航 陈丽敏
出处 《电子科技大学学报》 EI CAS CSCD 北大核心 2011年第5期732-736,共5页 Journal of University of Electronic Science and Technology of China
基金 国家自然科学基金(60973016)
关键词 MARKOV链 轮盘赌算法 测试用例 测试输入 使用模型 Markov chain roulette algorithm test case test input usage model
  • 相关文献

参考文献10

  • 1JOHN D M. Software reliability engineering[M]. New York: The McGraw-Hill Companies, Inc., 1999.
  • 2AVRITZER A, WEYUKER E J. The automatic generation of load test suites and the assessment of the resulting software[J]. IEEE Transaction on Software Engineering, 1995, 21(9): 705-715.
  • 3颜炯,王戟,陈火旺.基于UML的软件Markov链使用模型构造研究[J].软件学报,2005,16(8):1386-1394. 被引量:29
  • 4HU Hal, JIANG Chang-hai, CAI Kai-yuan. Adaptive software testing in the context of an improved controlled Markov chain model[J]. IEEE on Computer Software and Applications, 2008, 32: 853-858.
  • 5STACY J P, CARMEN J T, RICHARD C L, et al.净室软件工程:技术与过程[M].贲可荣,张志祥,张秀山,等译.北京:电子工业出版社.2001.
  • 6POORE J H. Introduction to the special issue on: model-based statistical testing of soft-ware intensive systems[J]. Information and Software Technology, 2000, 42(12): 797-799.
  • 7沙晓婷.统计方法在软件测试中的研究与实现[D].北京:北京交通大学,2008.
  • 8高海昌,冯博琴,曾明,贺晓红.基于Markov链路径使用模型的软件统计测试[J].计算机工程,2006,32(19):20-22. 被引量:4
  • 9沈海华,卫文丽,陈云霁.覆盖率驱动的随机测试生成技术综述[J].计算机辅助设计与图形学学报,2009,21(4):419-431. 被引量:22
  • 10马春燕,胡飞,张云鹏.基于Markov链使用模型的组件复用的统计测试[J].计算机应用研究,2008,25(4):1051-1053. 被引量:1

二级参考文献76

  • 1罗春,杨军,凌明.基于遗传算法和覆盖率驱动的功能验证向量自动生成算法[J].应用科学学报,2005,23(4):375-379. 被引量:15
  • 2朱丹,李暾,郭阳,李思昆.微处理器体系结构级测试程序自动生成技术[J].软件学报,2005,16(12):2172-2180. 被引量:7
  • 3易江芳,佟冬,程旭.GATEST:使用遗传算法自动生成模拟矢量的验证平台[J].北京大学学报(自然科学版),2006,42(5):668-673. 被引量:7
  • 4易江芳,佟冬,程旭.使用贝叶斯网络的高效模拟矢量生成方法[J].计算机辅助设计与图形学学报,2007,19(5):616-621. 被引量:7
  • 5Bentley B. Validating the Intel Pentium 4 microprocessor [C] //Proceedings of the 38th Design Automation Conference, Las Vegas, 2001:244-248
  • 6Bentley B. Validating a modern microprocessor [C] // Proceedings of the 17th International Conference on Computer Aided Verification, San Jose, 2005:2-4
  • 7Adir A, Almog E, Fournler L, et al. Genesys-Pro: innovations in test program generation for functional processor verification [J]. IEEE Design & Test of Computers, 2004, 21(2): 84-93
  • 8Taylor S, Quinn M, Brown D, etal. Functional verification of a multiple-issue, out-of-order, superscalar alpha processor the DEC alpha 21264 microprocessor [C] // Proceedings of the 35th Design Automation Conference, San Francisco, 1998: 638-643
  • 9Chandra A, Iyengar V, Jameson D, et al. AVPGEN-a test generator for architecture verification [J]. IEEE Transactions on Very Large Scale Integration Systems, 1995, 3(2): 188-200
  • 10Corno F, Sanchez E, Reorda M S, et al. Automatic test program generation: a case study [J]. IEEE Design & Test of Computers, 2004, 21(2): 102-109

共引文献50

同被引文献17

  • 1颜炯,王戟,陈火旺.基于UML的软件Markov链使用模型构造研究[J].软件学报,2005,16(8):1386-1394. 被引量:29
  • 2ISO/IEC 9126 Software Engineering-Product Quality- Partl : Quality Model[ S] .2002.
  • 3Kaneishi T, Dohi T. Software Reliability Modeling and E- valuation under Incomplete Knowledge on Fault Distribution[ C ]. In: Proc of 7th International Conference on Software Security and Reliability, 2013:3-12.
  • 4Iqbal J, Ahmad N, Quadri S M K. A Software Reliability Growth Model with Two Types of Learning and a Negligence Factor[ C]. In: Proc of the 2013 IEEE Second International Conference on Image Information Processing, 2013 : 678-683.
  • 5Cheung R C. A User-Oriented Software Reliability Model [J]. IEEE Transactions on Software Engineering, 1980, SE-6(2) : 118-125.
  • 6Whittaker J A, Poore J H. Statistical Testing for Clean- room Software Engineering [ C ]. In: Proc of the 25th Hawaii International Conference on System Science, 1992 (2) : 428-436.
  • 7Whittaker J A, Thomason M G. A Markov Chain Model for Statistical Software Testing [ J ]. IEEE Transactions on Software Engineering, 1994, 20(10) : 812-824.
  • 8Wang W, Pan D, Chen M. Architecture-based Software Reliability Modeling[ J]. Journal of Systems and Software, 2006, 79(1) : 132-146.
  • 9Paul Ammann, Jeff Offutt. Introduction to Softwate Testing [ M ]. Cambridge University Press, China Machine Press, 2009.
  • 10潘冠华.软件可靠性的功能点模型[J].舰船科学技术,1997(4):56-58. 被引量:2

引证文献3

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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