Font Size: a A A

The Research And Application Of Component-based Software Testing In Aspect-oriented

Posted on:2011-04-30Degree:MasterType:Thesis
Country:ChinaCandidate:S X DingFull Text:PDF
GTID:2178360308957135Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In recent years, the software systems become more large and complex, therefore it emerged a new software development methodology called component-based development. The components quality affects the software systems that it used of component developed software's quality. Therefore, it is very important to test the component.This paper studied the CBD's method and characteristics, it from the component developer and user view analyze the component testing. In theory, the component integrated the application environment had fully test, but the practice proved that is wrong. Therefore when a variety of component integrated application environment and implementation of effective integration test is an important means of a component-based software systems quality guarantee. To solve the above problem, the main research contents of this paper as follows:Firstly, it's according with components testability problem. The use of aspect-oriented techniques, gives an aspect-oriented component-based software testing model. In this testing model, the use of AOP technology put the test-related code concentrated in a tracking component, and use of the weaver to weave test code and the original component for a new component, which we called the components as a tracked component. When the component software's components are all become a tracked component, while the normal use of the software also conducted a software testing.In addition, based on the tracking component, we described the testing code with metadata, thereby introducing group metadata that can adequately describe the component information, and dividing into descriptive metadata and operational metadata. And further research the concepts of the two kinds of metadata, and given two kinds of metadata structure and content of the framework and reference model and the UML express respectively. On this basis, Constructed and achieved the metadata system hierarchy and frame structure. Based on the group metadata model to give a component test case generation method, first of all we construct in UML use case meta-model, through the appropriate mapping method put the model of the use cases mapping the model of test cases, achieving a model based on the group metadata, which used to implement component-based software integration testing.Finally, we analyzing and testing a Human Resource Management system to verify our test method.
Keywords/Search Tags:Component-based software testing, Metadata, Aspect, Test case
PDF Full Text Request
Related items