文档介绍:本科生毕业设计(学术论文)
题目回归测试中测试用例修复的方法与工具
学院软件学院
专业软件工程
学生姓名程雪梅
学号 1043111259 年级 2010
指导教师洪玫
教务处制表
二ΟΟ八年六月一日
回归测试中测试用例修复的方法与工具
软件工程
学生程雪梅指导老师洪玫
[摘要] 由于功能的增加、性能的优化、错误的修复等原因,软件处于不断演化中。软件的变化导致在回归测试中部分测试用例失效,直接丢弃这部分测试用例将会浪费大量资源,测试用例修复技术很好地解决了这个问题。测试用例修复旨在通过对失效测试用例中的测试元素进行添加、修改、删除等修复操作,使该测试用例在新版本软件的回归测试中执行通过。通过系统文献综述的方法,首先对相关文献进行检索,然后通过endnote、bibexcel工具对检索结果进行文献计量分析,最后完成文献综述。分析回归测试中测试用例修复技术的研究现状,将现有的测试用例修复方法分为GUI、Web和白盒测试用例修复三大类进行描述,对基于事件流图、基于遗传算法、动静分析结合、基于会话数据修复、基于版本行为比较、维护测试脚本、基于符号执行的测试用例修复方法的基本原理进行了阐述,提出在测试用例修复领域存在的挑战和未来的研究方向。为研究者做与该领域相关的研究提供系统性的参考;为工业界提供决策的参考,帮助他们在实际应用中选择合适的测试用例修复方法;为软件工程教材的编写提供有用的参考。
[主题词] 回归测试;测试用例修复;测试用例演化;系统文献综述;文献计量分析
The test case repair methods and tools in regression testing
Software Engineering
Student: Cheng Xue-Mei Adviser: Hong Mei
[Abstract] Due to the increase in function, performance optimization, the error of repair, the software is in continuous software change lead to part of the test cases in regression testing failure, simply discard this part of the test cases will be a huge waste of resources, the test case repair technology solved the problem very well. the test case repair aims to repair failure test cases in the test element having repair operations such as add, modify, delete, make the test case in the new version software regression testing performed systematic literature review method, first retrieve the relevant literature, and then through endnote, bibexcel tool for retrieving results bibliometric analysis, and pleted the literature of the test case repair technology in regression testing research status, existing test case repairing methods can be divided into GUI, Web and white box repair three categories of test cases described. The method based on an event flow graph, The method based on ic algorithms, The bining static and dynamic analysis , The method session-based data recovery, The pareing the behavior-based version, The method maintaining test scripts, Th