摘要
软件可靠性测试技术是保证软件质量的重要研究内容,针对传统可靠性测试中测试用例生成过于随机、生成个数不可控、测试用例生成"早熟"及充分性不足等问题,对可靠性测试用例的生成进行了研究,分析了传统测试用例生成方式的弊端,提出一种改进的基于Markov链使用模型的测试用例生成方法,通过搜索计算基础测试路径及其概率并结合用例个数计算方法,利用"逆向"思维分配衍生测试用例集,克服了传统方法的弊端。最后通过某电话机软件的Markov链实例验证了方法的有效性。
Software reliability testing technology is an important means to ensure the quality of software,to solve the problem of high randomness of test case generation,unsupervised number of test cases,"early maturing"and insufficient adequacy of test cases,the generation of the test case is studied and the disadvantages of the traditional method are analyzed,an improved test case generation strategy based on the Markov chain usage model is proposed,by searching the basic test path and its probability and combining the proposed number of use cases,the "reverse"thinking is used to generate the test cases,which overcomes the drawbacks of the traditional methods.Finally,the feasibility of the method is validated by telephone system.
作者
杨杰
王兴起
YANG Jie;WANG Xingqi(Ministry of Education Key Laboratory of Complex Systems Modeling and Simulation,Hangzhou Dianzi University,Hangzhou Zhejiang 310018,China)
出处
《杭州电子科技大学学报(自然科学版)》
2018年第4期41-46,共6页
Journal of Hangzhou Dianzi University:Natural Sciences
基金
武器装备预研基金资助项目(9140A15050115DZ04210)
国防基础科研计划资助项目(JCKY2013415C001)
国防技术基础科研计划资助项目(JSZL2014415B002)