期刊文献+

消息传递并行程序路径覆盖测试数据生成问题的模型及其进化求解方法 被引量:9

Model of Test Data Generation for Path Coverage of Message-Passing Parallel Programs and Its Evolution-Based Solution
下载PDF
导出
摘要 测试数据生成是软件测试的关键,近年来得到国内外学者的广泛关注.但是,已有的研究成果主要面向串行程序.任务划分、进程调度和网络延迟,使得并行程序的执行具有不确定性,给并行程序的测试数据生成带来很大挑战.文中研究消息传递并行程序面向路径覆盖的测试数据生成问题,提出并行程序的路径表示,定义等价路径并给出寻找方法.基于此,建立并行程序路径覆盖测试数据生成问题的数学模型,并采用遗传算法求解该模型.作者将所提方法应用于6个基准测试程序,并与随机法比较.实验结果表明,文中所提方法可以高效生成覆盖目标路径的测试数据. Generating test data is pivotal in software testing, which has brought to wide-ranging attention from domestic and foreign scholars in recent years. However, previous research results are mainly suitable for serial programs. Task partition, process schedule and network delay make the execution of parallel programs uncertain, giving rise to challenges in test data generation of parallel programs. This paper investigated the problem of generating test data for path coverage of message-passing parallel programs. It first presented a method of representing a path of a parallel program, followed by defining an equivalent path and giving a method of searching for it. Based on these, it built a mathematical model of generating test data for path coverage of a mes- sage-passing parallel program, and gave a strategy of solving the model by using a genetic algo- rithm. The proposed method was applied to six benchmark programs and compared to the random method. The experimental results show that the proposed method can effectively generate test data covering the target path.
作者 田甜 巩敦卫
出处 《计算机学报》 EI CSCD 北大核心 2013年第11期2212-2223,共12页 Chinese Journal of Computers
基金 国家自然科学基金(61075061) 高等学校博士学科点专项科研基金(20100095110006) 中央高校基本科研业务费专项资金(2012LWB72) 江苏省普通高校研究生科研创新计划项目(CXZZ11_0292)联合资助~~
关键词 软件测试 并行程序 路径覆盖 测试数据 遗传算法 software testing parallel program path coverage test data genetic algorithm
  • 相关文献

参考文献6

二级参考文献92

  • 1邱晓康,李宣东.一个面向路径的软件测试辅助工具[J].电子学报,2004,32(F12):231-234. 被引量:12
  • 2赵元聪,朱三元.面向对象软件测试的认识[J].计算机应用与软件,1996,13(3):1-4. 被引量:19
  • 3夏辉,宋昕,王理.基于Z路径覆盖的测试用例自动生成技术研究[J].现代电子技术,2006,29(6):92-94. 被引量:11
  • 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

共引文献247

同被引文献108

  • 1李东,宫云战.软件测试方法综述[J].装甲兵工程学院学报,2003,17(2):9-13. 被引量:6
  • 2单锦辉,姜瑛,孙萍.软件测试研究进展[J].北京大学学报(自然科学版),2005,41(1):134-145. 被引量:138
  • 3张铃,吴福朝,张钹,韩玫.多层前馈神经网络的学习和综合算法[J].软件学报,1995,6(7):440-448. 被引量:33
  • 4傅博.基于蚁群算法的软件测试数据自动生成[J].计算机工程与应用,2007,43(12):97-99. 被引量:32
  • 5徐拾义.降低软件变异测试复杂性的新方法[J].上海大学学报(自然科学版),2007,13(5):524-531. 被引量:3
  • 6NGO M N, TAN H B K. Heuristics-based infeasible path detection for dynamic test data generation [J]. Information and Software Technology, 2008, 50(7) : 641 - 655.
  • 7CHRISTAKIS M, SAGONAS K. Detection of asyn- chronous message passing errors using static analysis [C] // Proceedings of the 13th International Symposium on Practical Aspects of Declarative Language. Berlin: Springer, 2011, 6539:5- 18.
  • 8GODEFROID P. Model checking for programming lan- guages using verisoft [C] // Proceedings of the Symposi- um on Principles of Programming Languages. New York : ACM, 1997: 174-186.
  • 9FLANAGAN C, GODEFROID P. Dynamic partial-or- der reduction for model checking software [C]/// Pro- ceedings of the Symposium on Principles of Programming Languages. New York: ACM, 2005: 110-121.
  • 10VAKKALANKA S, DELISI M, GOPALAKRISHNAN G. Implementing efficient dynamic formal verification methods for MPI programs [C]// Proceedings of the 15th European PVM/MPI Users' Group Meeting. Berlin: Springer, 2008, 5205: 248- 256.

引证文献9

二级引证文献36

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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