盲目进行自动化测试将可能得不偿失。增强投资回报(SROI)模型虽然估算出了自动测试风险发生的阈值,但没能给出与之相比较的每次维护风险因子的计算方法。在分析各种不确定风险因素基础上,提出一种软件自动测试投资风险分析方法。该方法利用决策树研究每次维护风险因子的分布情况,估算出每次维护风险因子的值,通过该值与其阈值比较,得到自动测试风险发生的概率。最后通过实例说明该方法的有效性。
Carrying out test automation blindly will have the certain risk.The Strength Return On Investment(SROI) model estimates the threshold which the test automation risk occurred,but computational method for each time maintenance risk factor has not given which compares with the threshold.A method of risk analysis for the test automation based on the each kind of indefinite risk factor analysis is presented.The decision tree is used to estimate the value of each time maintenance risk factor.Comparing the value with its threshold,the possibility which the test automation risk occurred can be obtained in order to control risk effectively.At last,an experiment demonstrates the effectiveness by this model.