Font Size: a A A

Research And Application On Generating Integration Test Cases Based On UML

Posted on:2007-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:H L DiaoFull Text:PDF
GTID:2178360182460838Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Software testing is an important part of Software Engineering. With the development of software, software becomes larger and'larger. Then, software testing becomes more and more important. Design of test cases is the most important thing in software testing. Test cases are the director and guide lines in testing. What more important, it is a base safeguard of software quality.At present, most test cases are written by testers. Therefore, the quality of test cases completely depends on tester' capacity. On this point, it is difficult to ensure the quality of software testing. Furthermore, it will influence the quality of software product. Therefore, it is significant in application that how to generate test cases automatically. At home and abroad, research on generating test cases focused on test cases for unit testing. Research on integration testing starts before long. It is mainly based on Communication Diagram or Consequence Diagram. What's more, most researches are in theory. The developed tools for using are scarce. With the widely use of UML, it is very significant in application that generate test cases based on UML models.In this paper, a model for generating integration test cases is brought up based on Communication Diagram and State-chart Diagram after studying the formers' research. The t objects for integration testing are confirmed according to Communication Diagram at first. Then State-chart Diagrams for them are combined step by step. The most important among these is how the State-chart Diagrams are combined. Then a formalized State-chart Diagram is given. And how are equivalent states extended for generating integration testing cases.At last, a tool is developed for generating integration test cases from Communication Diagram and State-chart Diagram. After this, an example is specialized in how the tool is used. It proved to be feasible. It unified system design and use cases design. It is a new direction for software testing automatically.
Keywords/Search Tags:Software Testing, Integration Testing, Test Case, Combined State, Communication Diagram, State-chart Diagram
PDF Full Text Request
Related items