摘要
随着计算机技术的发展,软件迭代开发模式在软件开发与测试过程中占的比重越来越大。软件迭代开发过程中大量采用自动化测试,在测试环境上进行测试脚本连跑;通常会有一定数量的测试脚本失败,需要对这些脚本进行失败分析。这是一项十分重要的工作,否则软件产品无法继续开发,也无法保证软件产品的质量。依据软件迭代开发和测试工作实践,归纳总结了自动化测试用例失败的类型,介绍了各种类型测试脚本失败的工作实例;叙述了自动化测试用例失败分析涉及的角色和软件迭代开发过程中自动化测试应用场景;详细叙述了自动化测试用例失败的定位和分析处理;最后叙述了测试工作的改进。工作实践表明做好软件自动化测试用例失败分析工作,有助于提高软件产品开发效率和提升软件产品质量。
With the development of computer technology,the proportion of software iterative development mode is becoming larger in the process of software development and test. A large number of software automated test are used in the iterative development process when test scripts running in test environment;a certain number of test script failure will appear,so failure analysis of these scripts needed to be done. This is a quite important work,otherwise,the software products won’t be able to continue to develop,and the quality of software products is unable to guarantee. On the basis of iterative development and software testing work practice,we summarize the failure types of automation test case,introduce the instance of all kinds of test script failure,describe the involving role in failure analysis of automated test cases and automation test application scenario in software iterative development process,and detail the failure positioning and analysis of automated test cases. Finally,we describe the improvement of testing work. The practice shows that the failure analysis of automation software test cases is helpful to improve the efficiency of software product development and the quality of software products.
作者
姜文
刘立康
JIANG Wen;LIU Li-kang(School of Telecommunication Engineering,Xidian University,Xi'an 710071,China)
出处
《计算机技术与发展》
2020年第4期8-13,共6页
Computer Technology and Development
基金
国家自然科学基金(61403291)。
关键词
迭代开发
自动化测试
测试用例
脚本
失败分析
iterative development
automation test
test case
script
failure analysis