基于uml的组件软件集成测试的研究与应用-计算机软件与理论专业论文.docx
文本预览下载声明
太原理工大学硕士研究生学位论文对象之间通过消息的交互进行处理以得到测试用例,并设计了根据协作
太原理工大学硕士研究生学位论文
对象之间通过消息的交互进行处理以得到测试用例,并设计了根据协作 图中信息对相应生成的程序进行插装的算法。
通过分析这两种技术的利弊,在定义基于组件的软件测试模型的基 础上,提出一套从获取协作图消息信息到寻找测试路径的方案。首先用 建模工具做出系统的协作图,再从生成的相应文件中提取消息的相关信 息,按照组件间消息传递的依赖关系产成测试路径。测试者根据这些路 径进行相应的操作,从而测试该系统是否能对各种情况做出正确响应。 本文的主要工作是设计了从UML协作图中提取消息的过程及定义了组 件问传递的消息及其依赖关系的数据结构,并根据依赖关系设计遍历算 法,用JA、,A语言实现。
最后,用ATM机中确认PIN的实例执行该程序,执行结果与分析 出的应寻找到的路径一致,证明了该程序的可执行性与正确性。这项确 定测试用例的工作可从概要设计阶段开始,它对于软件测试方法的改进 以及软件测试自动化具有一定的理论和实践意义。
关键词:组件,基于组件的软件,集成测试,依赖关系,UML
太原理工大学硕士研究生学位论文THE
太原理工大学硕士研究生学位论文
THE RESEARCH AND APPLICArION OF UML—BASED INTEGRATION TESTENG FOR COM【PONENT-BASED SOFrⅥ後RE
ABSTRACT
The component-based software development is a new way to develop software in recent years.The component technology is the newest and strongest blue print to solve the problems of software reuse,shortening the time of programming,reducing the cost of maintenance and realizing the upgrading dynamically.The integration testing of component-based software
is a new research aspect.
This paper first discusses the appearance,definition,and characters of component technology,then analyses and compares the popular three component models,and then compares the different forms of component. UML is a modeling tool of constructing software system.It Call describe the component-based software from different aspects using various model
diagrams.
Software testing is all important link of software development.It is the important factor of software quality assurance.After discussing the relationships of three kinds of software development and testing,we define the testing sufficient principles and standard.
This paper studies the two component—based software integration testing
technologies,the two are:
(1)State-based diagram testing technology.We use finite state machine
to express+the state of component,and compose a global state machine with
I工I
太原理工大学硕士研究生学位论文two
太原理工大学硕士研究生学位论文
two finite state machine to construct global behavioral model to test interface
显示全部