Font Size: a A A

Research On The Technology Of Software Component Testing

Posted on:2013-06-18Degree:MasterType:Thesis
Country:ChinaCandidate:L YangFull Text:PDF
GTID:2248330392450543Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapid development of component-based software engineering,components gain an increasingly important position in the software development. Atthe same time,component testing is also an increasingly important.It requires testingtechnology to keep up with the pace of development.Component’s encapsulation, information hiding and other new features are greathelpful for software developers and development of component technology.But thesenew features make the poor transmission of information of the components whichcan’t provide enough information to be used to generate test cases.Then,it is hard forcomponent reuser to test component via traditional methods of software testing test.In addition, similar to traditional software testing, component dynamic testing isdifficult and costs much. When the number of components to be tested wassignificantly more than the required components, the dynamic testing source willwaste a lot on components which finally not be used.These problems, this paper proposes a component quality evaluation method basedon the analytic hierarchy process and fuzzy comprehensive evaluation method, thequality of the component is decomposed into a number of indicators.Evaluate them,then determine the quality of components based on these evaluations. According tothe quality of components to filter out the components into the dynamic testing, thenumber of components will decrease. This method is simple, effective combination ofqualitative analysis, quantitative analysis and expert’s experience, judgment,itsadvantages is effective and technically feasible. Secondly, for thd disadvantage of existing metadata representation method, animproved component metadata representation method was proposed, and on this basis,a metadata-based test case generation method was designed. This method exportsmethod call sequence based on the component metadata and test methods sequencebased on UML sequence diagram,finally generates test cases from test methodssequence. This method makes full use of the advantages of metadata in the dataprocessing.By this method,the component developer can effectively protect theinternal details of the components,meanwhile component reuser can get enoughinformation of the components used for testing, improve testing efficiency andquality.Finally, an instance to verify the validity of the above methods wasproposed.Compared with the existing test methods,above methods can help improvetesting efficiency and reduce cost of testing.
Keywords/Search Tags:Component, Component test, AHP, Metadata, testcase
PDF Full Text Request
Related items