首页 | 本学科首页   官方微博 | 高级检索  
     

基于Markov决策过程用交叉熵方法优化软件测试
引用本文:张德平,聂长海,徐宝文.基于Markov决策过程用交叉熵方法优化软件测试[J].软件学报,2008,19(10):2770-2779.
作者姓名:张德平  聂长海  徐宝文
作者单位:1. 东南大学,计算机科学与工程学院,江苏,南京,210096;南京航空航天大学,理学院,江苏,南京,210016
2. 东南大学,计算机科学与工程学院,江苏,南京,210096
基金项目:国家自然科学基金,高等学校博士学科点专项科研项目,江苏省自然科学基金,东南大学优秀青年教师教学科研项目,国家重点实验室基金
摘    要:研究了待测软件某些参数已知的条件下,以最小化平均测试费用为目标的软件测试优化问题.将软件测试过程处理成马尔可夫(Markov)决策过程,给出了软件测试的马尔可夫决策模型,运用交叉熵方法,通过一种学习策略获得软件测试的最优测试剖面,用于优化软件测试.模拟结果表明,学习策略给出的测试剖面要优于随机测试策略,检测和排除相同数目的软件缺陷,学习策略比随机测试能够显著地减少测试用例数,降低测试成本,提高缺陷检测效率.

关 键 词:软件测试  马尔可夫决策过程  交叉熵方法  最优测试剖面
收稿时间:2007/7/30 0:00:00
修稿时间:2008/2/25 0:00:00

Cross-Entropy Method Based on Markov Decision Process for Optimal Software Testing
ZHANG De-Ping,NIE Chang-Hai and XU Bao-Wen.Cross-Entropy Method Based on Markov Decision Process for Optimal Software Testing[J].Journal of Software,2008,19(10):2770-2779.
Authors:ZHANG De-Ping  NIE Chang-Hai and 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.
Keywords:software testing  Markov decision process  cross-entropy method  optimal testing profile
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号