摘要
不考虑自动测试的维护代价,盲目进行自动化测试是有风险的。以画板程序升级为例,详细介绍了它的修改过程和相应测试程序的维护代价,然后利用COCOMO度量方法,对测试程序与被测试程序的维护代价作一个比较,说明测试程序和被测试程序一样,需要反复维护才能进行回归测试。通过实例和理论分析使测试者清醒认识自动测试的维护代价,合理利用自动化测试。
Carrying on the test automation blindly will have the risk, without considering the test automation maintenance cost. Took the drawing board as the example, this paper introduced its revision process and the corresponding test program maintenance cost in detail. Compared the test program maintenance cost with its test object maintenance by COCOMO measure- ment method, automation regression test must be maintained repeatedly like its test object before testing. Test automation maintenance cost would be known soberly and test automation would be used reasonably by example and the theoretical analysis.
出处
《计算机应用研究》
CSCD
北大核心
2008年第8期2374-2376,共3页
Application Research of Computers
基金
国家自然科学基金资助项目(70471046)
国家教育部博士点基金资助项目(20040359004)