Font Size: a A A

Component System Regression Testing Model And Technology Research

Posted on:2007-07-06Degree:MasterType:Thesis
Country:ChinaCandidate:K JieFull Text:PDF
GTID:2178360212465581Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In the evolution of the component-based software's life cycle, the component system may be modified. To verify the correctness and the reliability of the updated system, the retesting work must be carried out. The component system regression test focusing on the modification-affected components can reuse the previous test cases in a wide range, so that large amount of time and cost can be saved in this testing method.The component system regression test in not only the self-test of the modified components but the verification of the proper interaction between the modified components and other related components. So it is a retest based on the previous integration and system test. The core problem of the component system regression test is the analysis on the dependence relationship between components, the acquirement of the modification-affected components, and then the selection and creation of test cases to satisfied the coverage test on these components.In this paper a component system model based on the event mechanism is presented, in which events are considered to be the critical item in components' interactions. The model can manifest the causality and time sequence of different system events so that the event dependence can be defined. Then the component dependence is constructed on the base of event dependence. After the component system modification, the impact analysis is promoted on the component system dependence graph (CSDG), in order to acquire the modification-affected components as the object of the regression test. According to the component system collaboration graph (CSCG) previous teat cases are selected and new test cases are created, and these two kinds of test cases generate the regression test suite. The test suite's reduction and optimism approach is derived from the requirement-component association graph (RCAG), in which each modified component is assigned and then compared with an influence degree. Last the component system regression test multi-Agent (CRAM) and the realization details is also proposed.The main contributions of the paper are listed as follows. Construct a new component system model based on the event mechanism. The model derived the procession of event transmission and handling, so that it can not only describe the static system architecture but also the dynamic state transition in the system execution. This model is the support of the component relationship analysis and the base of the regression test. Define the event dependence and the component dependence from a new method of event's causality and time sequence. Corresponding algorithms are also proposed. Propose a component system modification impact analysis, based on the dependence relationship betweencomponents, the range of modification-affected component is set. Corresponding algorithms are also proposed. Propose a new method to generate the component regression test suite, in which component relationship isderived from the component system dependence graph, and test case selection and creation strategies are conducted on the component system collaboration graph. Corresponding algorithms are also proposed. Optimize the regression test suite, and propose a new requirement-component association graph, so as to compare the importance of each test case, reducing the redundant test case. Corresponding algorithms are also proposed. Based on the research and algorithms, a component system regression test multi-Agent is applied. The basic realization details is also proposed.
Keywords/Search Tags:Component test, regression test, component dependence, dependence analysis, impact analysis, test case selection, test case reduction
PDF Full Text Request
Related items