期刊文献+

变概率的随机测试

Random Testing with Varied Probability
下载PDF
导出
摘要 适应性随机测试是对随机测试低覆盖率和盲目性的一种改进.它的思想是通过尽量地使测试用例均匀地分布在整个测试域范围内,从而提高测试效率.研究显示,相比于常规的随机测试,适应性随机测试能够使用更少的测试用例来发现被测程序的第一个错误.但是,现有的适应性随机测试的实现方案的时间效率不高,在生成测试用例的过程中大量的计算将消耗大量的时间.针对已有适应性随机测试耗时的缺点,提出一种快速的适应性随机测试的实现方法.该方法主要是通过改变输入域空间内不同区域的测试用例生成的概率来实现测试用例的均匀分布.为最大限度地减少时间消耗,该方法每次只计算局部输入域空间内测试用例的生成概率.该方法理论上生成n个测试用例的时间消耗为O(n log n).实验显示,本文提出的方法只需很低的时间消耗就能生成大量的测试用例. Adaptive Random Testing is an improvement to Random Testing for addressing the defects of the low coverage and blind- ness. Its idea is making the test cases widespread in the input domain. Research results show that, compared to pure Random testing, Adaptive Random Testing uses less test cases to reveal the first failure. But the unacceptable time consumption is its disadvantage. A lot of computations will cause unacceptable time consumption. To overcome the shortcoming of the time consumption, here we pres- ent a fast method to implement Adaptive Random Testing. This approach achieves the even spread of the test cases by varying the probability of the generation of the test cases in different input domain. This approach computes the probability of the generation of the test cases in part of the input domain to decrease the time consumption maximally. Theoretically, the time consumption of this ap- proach to generate n test cases is 0 ( n log n }. Experiments show that the time consumption of this method to generate test cases is very low.
出处 《小型微型计算机系统》 CSCD 北大核心 2014年第2期319-323,共5页 Journal of Chinese Computer Systems
基金 安徽省自然科学基金项目(11040606M131)资助
关键词 随机测试 概率 适应性随机测试 二叉排序树 random testing probability adaptive random testing binary sort tree
  • 相关文献

参考文献14

  • 1At'curl Andrea, Briand Lionel. Adaptive random testing: an illusion of effectiveness? [ C]. Proceedings of the 2011 International Sym- posium on Software Testing and Analysis ,2011:265-275.
  • 2Chen T Y, Eddy G, Merkel R, et al. Adaptive random testing through dynamic partitioning [ C ]. Proceedings of the 4th Interna- tional Conference on Quality Software,2004:79-86.
  • 3Chen T Y, Huang De-hao. Adaptive random testing by localization [ C]. Proceedings of the 11th Asia-Pacific Software Engineering Conference, 2004: 292 -298.
  • 4Chen T Y, Leung H, Maki K. Adaptive random testing [ C ]. Pro- ceedings of the 9th Asian Computing Science Conference ( ASIAN 2004) ,2004:320-329.
  • 5Chen T Y, Huang De-hao, Kuo F C. Adaptive random testing by balancing [ C ]. Proceedings of the 2nd International Workshop on Random Testing: Co-Located with the 22rid IEEE/ACM Interna- tional Conference on Automated Software Engineering (ASE 2007 ) ,2007:2-9.
  • 6Chen T Y, Kuo F C, Merkel R G, et al. Mirror adaptive random tes- ting [ C ]. Proceedings of the Third International Conference on Quality Software ( QSIC2003 ) ,2003:4-11.
  • 7Chen T Y, Merkel RG. Quasi-random testing [ J ]. IEEE Transac- tions on Reliability,2007,56 (3) :562-568.
  • 8陈宗岳,郭斐菁,孙昌爱.失效区域紧致性对适应性随机测试的性能影响(英文)[J].软件学报,2006,17(12):2438-2449. 被引量:6
  • 9Ciupa Ilinca, Leitner Andreas, ORIOL Manuel, et al. Object distance and its application to adaptive random testing of object-oriented pro- grams[ C]. Proceedings of the 1st International Workshop on Ran- dom Testing ,2006:55-63.
  • 10Ciupa Ilinca, Leitner Andreas, Oriol Manuel, et al. ARTOO: adap- tive random testing for object-oriented software [ C ]. Proceedings of the 30th International Conference on Software Engineering, 2008 : 71-80.

二级参考文献16

  • 1Hamlet R.Random testing.In:Marciniak J,ed.Encyclopedia of Software Engineering.2 ed,John Wiley & Sons,2002.
  • 2Ammann PE,Knight JC.Data diversity:An approach to software fault tolerance.IEEE Trans.on Computers,1988,37(4):418-425.
  • 3Bishop PG.The variation of software survival times for different operational input profiles.In:David P,ed.Proc.of the 23rd Int'l Symp.on Fault-Tolerant Computing (FTCS-23).California:IEEE Computer Society Press,1993.98-107.
  • 4Finelli GB.NASA software failure characterization experiments.Reliability Engineering and System Safety,1991,32(1-2):155-169.
  • 5White LJ,Cohen EI.A domain strategy for computer program testing.IEEE Trans.on Software Engineering,1980,6(3):247-257.
  • 6Chan FT,Chen TY,Mak IK,Yu YT.Proportional sampling strategy:Guidelines for software testing practitioners.Information and Software Technology,1996,38(12):775-782.
  • 7Chen TY,Leung H,Mak IK.Adaptive random testing.In:Maher MJ,ed.Proc.of the 9th Asian Computing Science Conf.LNCS3321,Heidelberg:Springer-Verlag,2004.320-329.
  • 8Chen TY,Tse TH,Yu YT.Proportional sampling strategy:A compendium and some insights.Journal of Systems and Software,2001,58(1):65-81.
  • 9Chan KP,Chen TY,Tower D.Restricted random testing.In:Kontio J,Conradi R,eds.Proc.of the 7th European Conf.on Software Quality (ECSQ 2002).LNCS 2349,Heidelburg:Springer-Verlag,2003.321-330.
  • 10Chen TY,Kuo FC,Merkel RG,Ng SP.Mirror adaptive random testing.Information and Software Technology,2004,46(15):1001-1010.

共引文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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