Font Size: a A A

Based On Uml Use Case Diagrams And Activity Diagrams, Test Case Generation Method Research

Posted on:2012-05-03Degree:MasterType:Thesis
Country:ChinaCandidate:H H LiFull Text:PDF
GTID:2218330371451821Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Software testing is the most fundamental and important means to ensure software accuracy and reliability, Traditional software testing methods and techniques are based on structured thinking and less account into the characteristics of object-oriented technology, some important concepts in models can combine with some important concepts in object-oriented software. Therefore, model-based software testing begins to achieve rapid development. Unified Modeling Language (UML) as a standard object-oriented modeling language, have strict definition, providing many representation ways in deriving object structure and behavior, which makes it easy to extract test information. So methods of automatic test cases generation are based on UML models has important academic and practical significance to software testing theory and technology.On the basis of scenario testing method, the paper proposes a method of generating test cases based on UML activity diagram and UML use case diagram. Main work in this paper follows as:1. The background knowledge of software testing are summarized, which main including test methods, test level, how to identify the test cases, object-oriented software testing strategy, scenario testing method.2. UML and UML-based testing techniques are studied.3. A method of generating test cases based on UML activity diagram and UML use case diagram is proposed. An example of online shopping system is given in order to analyze specifically the steps of the method. Experiments show that the method has some merits. Such as high test efficiency, and the numbers of test cases are reasonable and effective, and test sequence generation method is easy to understand, and easily to generate test cases automatically because of strictly definition of the model and so on.4. Design and implementation models are described and some key algorithms are given.
Keywords/Search Tags:UML, Activity diagram, Use Case diagram, Scenario, Test Case
PDF Full Text Request
Related items