Font Size: a A A

Integration Testing Method Based On Module Dependency Graph And AOP

Posted on:2019-04-12Degree:MasterType:Thesis
Country:ChinaCandidate:R WangFull Text:PDF
GTID:2348330545987530Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software testing is the method of ensuring software quality.With the rapid development of software industry,people get more and more concerned with software testing.Integration testing is the activity of checking units of system,which satisfies detailed technology demands or not,is the necessary technology of quality assurance.Selecting the method for effective testing to ensure the quality of product and improve reliability of product is the most concerning research problem at the area of software engineering.The main task of integration testing is to check the interaction information among modules.In order to validate the relationship among modules and test the interface among modules,program dependency graph is updated to propose the module dependency graph in this paper.The dependency relationships among modules are described with module dependency graph.Interactive information among modules is given.A new integration testing method is given based on the module dependency graph using program piling technology and aspect oriented technology.The module dependency graph describes the dependency relationships among modules.By analyzing method calls among modules,module control dependency relationship is created.By analyzing the visit of the variables between modules,the module data dependency relationship is created.The properties of the control dependency and data dependency among modules are given.The Algorithm and graph description method of module dependency graph based on their properties are given.The module dependency graph provides the interactive information among modules.The interaction information among modules is not only the connection point woven by the aspect oriented module,but also the test case of the integration testing.Producing and design of the test case is achieved based on module dependency graph information.Piling technology in the white box testing is updated.The unit of program pile is replaced by sentence based on aspect oriented module.Method call and variable access information are dynamically outputted.The interaction information among modules in module dependency graph and the interactive information among modules with dynamic output of aspect oriented module are compared and analyzed to get test results.Module dependency graph and aspect oriented integration testing methods are given.In order to verify the effectiveness and accuracy of the test method,an application example of automatic cash withdrawal simulation system is given.The comparative analysis with another integration testing method is given.The experiment shows that the integration testing method based on module dependency graph and aspect oriented technology has better efficiency and effectiveness,reduces the test cost and achieves the localization of software defects.
Keywords/Search Tags:module dependency graph, control dependency, data dependency, aspect oriented, integration test
PDF Full Text Request
Related items