Font Size: a A A

Research And Application Of Black-box Testing Based On Component Software

Posted on:2012-09-11Degree:MasterType:Thesis
Country:ChinaCandidate:X H WangFull Text:PDF
GTID:2218330338968659Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the development of component technology and component-based software development technology, the research of component software testing has become a hot topic. Test case is the core of software testing, selecting and generating of test case is a difficult problem during the process of component software testing, the effective generation of test case can not only to improve the efficiency of testing and developing, but also can improve the quality of software.This paper studies the basic theory of component and component-based software firstly, including the features, models and classifications of the component, component testing and the characteristics, difficulties and elements about component software testing. Analyzing and comparing with the existing methods of component software testing, for black-box testing of component software, making combination of the testing method based on model and testing method based on Genetic Algorithm, this paper proposes a generating method of test case which based on UML activity diagram and Genetic Algorithm. The method uses Visio tools to construct UML activity diagram model, on the basis of UML activity diagrams analyzes the basic flow and optional flow, gets test scenarios by combining the generated flows, then makes the test scenarios for the optimization of the target, studies the selection of genetic operators and designs the fitness fuction in detail, in the end it gives the process model and implementation steps of the method. Secondly, the paper summarizes the functional requirements of the catering management system which is developed by the component-based software development method, and then makes design for the system. Using the proposed method design test case for the system, and verifying the validity of the proposed method. Again, for the problem of evaluating the validity of testing, in discussing the quality characteristics of the software component, this paper also studies the workflow and the related measure indicators which apply to evaluate the validity of component software testing.
Keywords/Search Tags:component, component-based software, test case, activity diagram, Genetic Algorithm, validity of testing
PDF Full Text Request
Related items