文档详情

基于UML的集成测试方法研究-计算机应用技术专业论文.docx

发布:2018-12-14约5.13万字共130页下载文档
文本预览下载声明
浙江大学硕士学位论文 浙江大学硕士学位论文 摘要 摘要 面向对象软件功能的正常运行依靠程序代码中各个类之间成功的交互。单个 类运行正常,但是当它们结合在一起时也许会出现新的问题。本论文提出了一种加 强类之间集成测试的技术,这个技术结合了UML合作图和状态图自动生成中间测 试模型(CSTM)。CSTM测试模型用来产生正确的测试路径,同时论文中定义了对 于从CSTM测试模型中产生测试路径的覆盖准则。为了评估这项技术,论文中实 现了一个教学辅助系统的部分模块,并且引入突变测试技术来检查该模型的错误 侦测能力。结果显示对于比较高要求的测试,能达到较好的效果。 关键词集成测试,l#4L,自动化测试 浙江大学硕士学位论文 浙江大学硕士学位论文 Abstract Abstract Correct functioning of object-oriented software depends upon the successful integration of classes.While individual classes may function correctly.several new faults call arise when these classes are integrated together.In this paper,we present a technique to enhance testing of interactions among modal classes.The technique combines UML collaboration diagrams and statecharts to automatically generate all intermediate tcst model.called CSTM.The CSTM is then used to generate valid test paths.We alSO define various covera∞criteria to generate test paths from the CS田讧 model.In order to assess our technique,we have developed a tooi and applied it to a case study to investigate its fault detection capability.The results show that the proposed technique effectively detects all the seeded integration faults when complying with the most demanding adequacy criterion and still achieves reasonably good results for 1ess expensive adequacy criteria. Keywords Integration Testing,UML,Automated Testing 浙江大学硕士学位论文 浙江大学硕士学位论文 图表目录 图表目录 图2_l一个航班顾客模型 . 2l 图2-2一个抵押关系模型 . 22 图3-1 AT系统类图 27 图3-2测试流程 30 图4-1眦wPROBL酬()的合作图 3l 图4-2 STOPWATCH状态图
显示全部
相似文档