Cluster-level Object-oriented Software Automatic Generation of Test Cases and Implementation
- Author
- WangYanLi
- Advisor
- HouXiuPing
- School
- Changchun University of
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 15
- Citations
- 0
Abstract
Cluster-level object-oriented software technology is an automatically generated test cases investigating a group of synergistic interaction between the class action, it is a kind of technique which automatically generates test cases required in the process of integration testing. Object-oriented is different from procedural programming, it has the features of inheritance, polymorphism, overloading, encapsulation, message passing, and aggregation associated with other and so on, makes the program has a certain complexity, which automatically generates test cases for software testing technology access to a wide range of application areas. In recent years, object-oriented modeling with UML as the de-facto standard after the UML-based method for the automatic generation of test cases to become the development trend of the future, provide us the conditions for further study, but also promoted the important influence for the automated testing tools on software testing in the international.The main purpose of this article is to design cluster-level test cases automatically generated algorithm, using the generated test cases found potential errors exist in the interface between classes, class inheritance and polymorphism in the program, and research related technology. The main activities include that a brief introduction of the source and significance of the cluster-level testing, history and present status; then make a theoretical analysis for the stage of the test case generation method, and based on the detailed design using to the UML for object-oriented software testing and test case generation mechanism of the idea; in the fourth chapter describes the system use cases based test case generation CADAG trail map are described in detail the specific algorithm design; the fifth chapter generate specific testing use cases base on the system testing use cases, which is based on sequence diagram, an algorithm using depth-first traversal of all scenarios, generating clues to the specific use case test, and validate the algorithm through practical feasibility of the project; The sixth chapter is the test case experimental study of some of the automatically generated given the test data; Finally, a summary of the full text.The automatic generation of test cases for message sequence technology has the character of saving time, and providing a new clue that solve the problem of dynamic binding to the study of automated testing tools are very important. It will have a good market prospect.
Table of contents
Abstract 2-3
Abstract 3-7
first chapter 7-11
1.1 topics sources 7
1.2 Objective and research topics of significance 7-8
1.3 stage of dynamic 8-9
1.4 This research 9-10 <br / > 1.5 This organizational structure 10-11
Chapter II of object-oriented software testing 11-17
2.1 Object-Oriented Software Features 11
2.2 software testing technology in the development of object-oriented direction 11-13
2.3 level object-oriented software testing and test methods 13-17
Chapter UML and object-oriented software testing 17-20
3.1 sequence diagrams and collaboration diagrams in software testing application 17-18
3.2 use case diagrams in software testing application 18-19 < br /> 3.3 class diagrams in software testing application 19-20
fourth chapter is based on the use case diagram of the system test generation 20-27
4.1 cluster-level test generation use cases need to be addressed 20-21
4.2 cluster-level test case generation design framework 21
4.3-based system-level use case diagram use cases generate design ideas 21 -22
4.4 use case-based system-level use case diagram generation algorithm 22-24
4.5 based CADAG coverage criteria 24-25
4.6 Case Study 25-27
chapter sequence diagram based on the specific test case generation 27-31
5.1 sequence diagram based on the specific case generation design ideas 27-28
5.2 based on the specific use case sequence diagram generation algorithm 28
5.3 sequence diagram based coverage criteria 28-29
5.4 Case Study 29-31
Chapter experiment platform 31-43
6.1 system's overall design structure 31-32
6.2 system-level test case generation module 32-35 < br /> 6.3 specific test case generation module 35-41
6.4 Test Results Management Module 41-43
Conclusion 43-45
Thanks 45-46
References 46-48
Author 48
During the master's degree research 48-49