Font Size: a A A

Research On Integration Testing Method Based On The Execution Tree Model Of Components

Posted on:2020-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:Y SunFull Text:PDF
GTID:2428330578468183Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Nowadays,with the increase of software complexity,component-based software development methods are becoming more and more popular among developers,and relevant quality assurance technologies and methods have become important research contents.Although unit testing for components have been rigorously run before they are integrated into the application environment,this doesn't guarantee that there isn't any issue in the integrated software system.Meanwhile,considering the cost of testing,it is necessary to use automated integration testing technology to ensure the quality of component-based software systems.In component-based software systems,integration testing mainly detects whether interactions among components are correctly implemented,so it is also called component interaction testing.As one of UML interaction diagrams,UML collaboration diagram,which depicts collaborations and interactions among components through sequenced messages,is an excellent integration test model.In addition,as the interaction rules between components,contracts describe the constraints that must be satisfied before and after component call,which provides a basis for test case generation.Accordingly,this paper proposes an automatic integration testing method based on the execution tree model of components by embedding contracts in UML collaboration diagram.The main research work of this paper includes the following three aspects:(1)The execution tree model of components and its construction method are proposed.Component-based software system realizes specific functions through interactions among components.In this paper,in the form of execution tree of components,interactions among components in the execution process of system function is clearly and intuitively displayed.Besides,the execution tree model of components is established by utilizing control flow information from collaboration diagram and combining with contracts as component specification.(2)An automatic test case generation method based on execution tree model of components is proposed.The execution tree of components depicts the execution process of system function,and each system task corresponds to a path in the tree.Integration testing for component-based software systems should be able to reflect the correctness of the execution process of system function under different tasks,that is,testing each path in the tree with test data.The addition of contracts enables this method to generate test case for each path through constraint solving technology,thus completing the automatic integration testing for component-based software systems.Finally,an example is given to show that the automatic integration testing method based on based on execution tree model of components is feasible.(3)A tool is developed to support integration testing method based on the execution tree model of components.
Keywords/Search Tags:component-based software systems, automatic integration testing, UML collaboration diagram, contracts, execution tree of components
PDF Full Text Request
Related items