引用本文:张德平,聂长海,徐宝文.基于Markov决策过程用交叉熵方法优化软件测试.软件学报,2008,19(10):2770-2779
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览 5890次   下载 7408 本文二维码信息
码上扫一扫!
分享到: 微信 更多
基于Markov决策过程用交叉熵方法优化软件测试
张德平1,2, 聂长海1, 徐宝文1
1.东南大学 计算机科学与工程学院,江苏 南京 210096;2.南京航空航天大学 理学院,江苏 南京 210016
摘要:
研究了待测软件某些参数已知的条件下,以最小化平均测试费用为目标的软件测试优化问题.将软件测试过程处理成马尔可夫(Markov)决策过程,给出了软件测试的马尔可夫决策模型,运用交叉熵方法,通过一种学习策略获得软件测试的最优测试剖面,用于优化软件测试.模拟结果表明,学习策略给出的测试剖面要优于随机测试策略,检测和排除相同数目的软件缺陷,学习策略比随机测试能够显著地减少测试用例数,降低测试成本,提高缺陷检测效率.
关键词:  软件测试  马尔可夫决策过程  交叉熵方法  最优测试剖面
DOI:
分类号:
基金项目:Supported by the National Natural Science Foundation of China under Grant Nos.60425206, 60773104, 60633010, 60503033 (国家自然科学基金); the Doctor Subject Fund of Education of Ministry of China under Grant No.20060286020 (国家教育部博士点基金); the National Science Foundation of Jiangsu Province of China under Grant No.BK2006094 (江苏省自然科学基金); the Excellent Talent Foundation on Teaching and Research of Southeast University of China (东南大学优秀青年教师教学科研资助); the Open Foundation of State Key Laboratory of Software Engineering of Wuhan University of China (武汉大学软件工程重点实验室开放基金)
Cross-Entropy Method Based on Markov Decision Process for Optimal Software Testing
ZHANG De-Ping,NIE Chang-Hai,XU Bao-Wen
Abstract:
This paper demonstrates an approach to optimize software testing by minimizing the expected cost with given software parameters of concern. Taking software testing process as a Markov decision process, a Markov decision model of software testing is proposed in this paper, and by using a learning strategy based on the cross-entropy method to optimize the software testing, this paper obtains the optimal testing profile. Simulation results show that the testing profile with the learning strategy performs significantly better than the random testing strategy with respect to the expected cost. Moreover, this learning strategy is more feasible and can significantly reduce the number of test cases required to detect and remove a certain number of software defects in comparison with the random testing strategy.
Key words:  software testing  Markov decision process  cross-entropy method  optimal testing profile

引用本文:
【打印本页】   【下载PDF全文】   查看/发表评论  【EndNote】   【RefMan】   【BibTex】
←前一篇|后一篇→ 过刊浏览    高级检索
本文已被:浏览次   下载  
分享到: 微信 更多
摘要:
关键词:  
DOI:
分类号:
基金项目:
Abstract:
Key words: