期刊文献+

组合测试数据生成的交叉熵与粒子群算法及比较 被引量:25

Test Data Generation Algorithms of Combinatorial Testing and Comparison Based on Cross-Entropy and Particle Swarm Optimization Method
在线阅读 下载PDF
导出
摘要 测试数据生成是组合测试的一个关键问题.文中提出以数理统计为基础的交叉熵方法和以仿生学为基础的粒子群优化算法来生成两两组合测试数据,交叉熵方法采用最优选择概率产生测试数据,而粒子群算法则在可行解空间中搜索具有最优适应值的测试数据.文章给出了交叉熵方法最优选择概率的理论推导,并对两种算法所生成的测试数据集进行约简.将两种算法和现有的贪心方法、代数方法及其它启发式搜索方法进行比较,实验表明交叉熵方法和粒子群算法具有一定的优势和特点. Abstract The test suite generation is one of key issues of combinatorial testing. This paper uses Cross-Entropy method of statistics and Particle Swarm Optimization from bionics to generate pairwise test data of combinatorial testing. The cross-entropy method used the best selection probability to generate test data and the particle swarm optimization generates test data by searching one with best fitness in a feasible solution. A theoretical method is given for the opti- mal probability selection of the cross-entropy method and a reduction technique is proposed to re- duce the test suite generated by two methods. The empirical results show that the cross-entropy method and the particle swarm optimization have some merits compared with existing greedy al- gorithms, algebra methods and other heuristic search algorithms.
出处 《计算机学报》 EI CSCD 北大核心 2010年第10期1896-1908,共13页 Chinese Journal of Computers
基金 国家自然科学基金(90818027 60721002 60873050 60773104) 国家"八六三"高技术研究发展计划项目基金(2008AA01Z143 2009AA01Z147) 国家"九七三"重点基础研究发展规划项目基金(2009CB320703) 上海市科委重点实验室基金(09DZ2272600)资助~~
关键词 软件测试 组合测试 交叉熵 粒子群优化 software testing combinatorial testing cross-entropy particle swarm optimization
  • 相关文献

参考文献24

  • 1Dunietz I S, Ehrlich W K, Szablak B D, Mallows C L, Lannino A. Applying design of experiments to software testing:Experience report//Proceedings of the 19th International Conference on Software Engineering. Boston, Massachusetts, USA, 1997:205-215.
  • 2Kuhn D R, Reilly M J. An investigation of the applicability of design of experiments to software testing//Proceedings of the 27th NASA/IEEE Software Engineering Workshop. NASA Goddard Space Flight Center, 2002.91-95.
  • 3Lei Y, Tai K C. In_Parameter_Oder: A test generation strategy for pairwise testing. Department of Computer Science, North Carolina State University, Raleigh, North Carolina: Technical Report TR-2001-03, 2001.
  • 4Mandl R. Orthogonal latin squares : An application of experi mental design in compiler testing. Communications of the ACM, 1985, 28(10). 1054-1058.
  • 5Kobayashi N, Tsuchiya T, Kikuno T. A new method for constructing pair-wise covering designs for software testing. Information Processing Letters, 2002, 81(2): 85-91.
  • 6Williams A W. Software component interaction testing: Cov erage measurement and generation of configurations [Ph. D. dissertation]. Ottawa-Carleton Institute for Computer Sei ence, School of Information Technology and Engineering University of Ottawa, Canada, 2002.
  • 7Cohen D M, Dalal S R, Fredman M L, Patton G C. The AETG system: An approach to testing based on combinatorial design. IEEE Transactions on Software Engineering, 1997, 23(7): 437-444.
  • 8Tung Y W, Aldiwan W S, Automating test case generation for the new generation mission software system//Proceedings of the IEEE Aerospace Conference. Big Sky, MT, USA, 2000, 431-437.
  • 9Yan Jun, Zhang Jian. Backtracking algorithms and search heuristics to generate test suites for combinatorial testing// Proceedings of the 30th Annual International Conference on Computer Software and Applications (COMPSAC06). Chicago, IL, 2006, 1:385-394.
  • 10Cheng Xiang, Gu Qing, Li Ang, Cheng Daoxu. Variable strength interaction testing with an ant colony system approach//Proceedings of the 16th Asia-Pacific Software Engineering Conference. Penang, 2009:160-167.

二级参考文献103

  • 1徐宝文,聂长海,史亮,陈火旺.一种基于组合测试的软件故障调试方法[J].计算机学报,2006,29(1):132-138. 被引量:39
  • 2聂长海,徐宝文,史亮.一种新的二水平多因素系统两两组合覆盖测试数据生成算法[J].计算机学报,2006,29(6):841-848. 被引量:21
  • 3史亮,聂长海,徐宝文.基于解空间树的组合测试数据生成[J].计算机学报,2006,29(6):849-857. 被引量:31
  • 4[1]Schach S.R..Software Engineering with Java.Boston:McGraw-Hill,1999
  • 5[2]DeMillo R. et al.. Constraint-based automatic test data generation. IEEE Transactions on Software Engineering, 1991, 17(9): 900~910
  • 6[3]Grabowski J. et al.. On the design of the new testing language TTCN-3. In: Ural H. et al.eds.. Testing of Communicating Systems. Kluwer: Academic Publishers, 2000,13: 161~176
  • 7[4]Schieferdecker I. et al.. Conformance testing with TTCN. In: Telektronikk, 2000,96(4): 85~95
  • 8[5]DeMillo R. et al.. Experimental results from an automatic test case generator. ACM Transactions on Software Engineering Methodology,1993, 2(2): 109~175
  • 9[6]Offutt J.. An integrated automatic test data generation system. Journal of Systems Integration, 1991, 1(3): 391~409
  • 10[7]Rothermel G. et al.. Regression test selection for C++ software. Journal of Software Testing, Verification and Reliability, 2000,10(2):77~109

共引文献112

同被引文献211

引证文献25

二级引证文献110

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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