Font Size: a A A

Research On Component Integration Testing Based On Dependency

Posted on:2012-03-10Degree:MasterType:Thesis
Country:ChinaCandidate:Z W ChenFull Text:PDF
GTID:2218330362956521Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Nowadays, The component-based software development (CBSD) has become the mainstream technology of software development. Meanwhile the correlation research has also become an important branch of software engineering. The component developers only execute strict unit testing for single component. As a result of that, the stability and reliability of the whole system will be influenced by the components'version, development technology and integrated environment while integrating several components to the application system. Therefore, integration testing for a component-based software system is particularly important.Dependency analysis is an important research direction of component-based software system. With the research of components'dependency definition and classification, the dependency relationship between components is described by the component direct dependency graph, component indirect dependency graph and component dependency graph. The component dependency matrix is generated by the components dependency degree in order to generate testing sequence. And the degree of components'dependency is calculated by assigning different weight to dependency relationship.Generating testing sequence is the core part of component integration testing. Random testing is a simple and effective method for choosing test case in component integration testing. This paper focuses on generating dependency-based testing sequences used for component integration testing by introducing the concept of testing sequences'distance. The algorithm adopts component dependency matrix as input and calculates the distance between each testing sequence and its prior sequence and the new testing sequence is chosen by the max distance. With full consideration of the dependency of components, this algorithm is more effective than the random testing method.Developing automated integration testing tools is important for component-based software development. This paper proposes an automated integration testing framework and implements a component-based integration testing system for the .NET components. We analyze the interface of the .NET components and execute the random testing and dependency-based integration testing to judge whether there is exception in components. The system is simple to operate with good testing effective.
Keywords/Search Tags:Component Dependency, Component Integration Testing, Testing Sequence, Testing Tools
PDF Full Text Request
Related items