###
DOI:
Journal of Software:2008.19(10):2770-2779

基于Markov决策过程用交叉熵方法优化软件测试
张德平,聂长海,徐宝文
(东南大学 计算机科学与工程学院,江苏 南京 210096; 南京航空航天大学 理学院,江苏 南京 210016)
Cross-Entropy Method Based on Markov Decision Process for Optimal Software Testing
ZHANG De-Ping,NIE Chang-Hai,XU Bao-Wen
()
Abstract
Chart / table
Reference
Similar Articles
Article :Browse 4003   Download 3819
Received:July 30, 2007    Revised:February 25, 2008
> 中文摘要: 研究了待测软件某些参数已知的条件下,以最小化平均测试费用为目标的软件测试优化问题.将软件测试过程处理成马尔可夫(Markov)决策过程,给出了软件测试的马尔可夫决策模型,运用交叉熵方法,通过一种学习策略获得软件测试的最优测试剖面,用于优化软件测试.模拟结果表明,学习策略给出的测试剖面要优于随机测试策略,检测和排除相同数目的软件缺陷,学习策略比随机测试能够显著地减少测试用例数,降低测试成本,提高缺陷检测效率.
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.
文章编号:     中图分类号:    文献标志码:
基金项目: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 (武汉大学软件工程重点实验室开放基金) 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 (武汉大学软件工程重点实验室开放基金)
Foundation items:
Reference text:

张德平,聂长海,徐宝文.基于Markov决策过程用交叉熵方法优化软件测试.软件学报,2008,19(10):2770-2779

ZHANG De-Ping,NIE Chang-Hai,XU Bao-Wen.Cross-Entropy Method Based on Markov Decision Process for Optimal Software Testing.Journal of Software,2008,19(10):2770-2779