Research on Test Case Generation for Object-Oriented Programs Based on Composite Testing Strategy
- Author
- HuYuPeng
- Advisor
- ChenZhiPing , LinYaPing
- School
- Hunan University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 93
- Citations
- 0
- Object-Oriented
- Test Case
- State-based testing
- Data Flow Testing
- Mixed class test model
- Method calls directed AOV network
- XML Metadata Interchange
Abstract
Software testing is to ensure the quality and reliability of the software key, the main research how to select and generate test cases to identify potential software errors. In object-oriented program testing, object-oriented programming language programming features to generate test cases brought some new problems, how to generate test cases for the object-oriented programming become an important research topic. In this paper, based on hybrid test strategy test case generation object-oriented programming. Firstly, for the state-based testing and data flow testing techniques to object-oriented programming unit tests the problems (ie, state-based test does not analyze the program code, regardless of the state can not be tested with the class data members; while using Data Flow Testing for class test costly, difficult), a hybrid type of test models in state-based testing to provide effective data flow analysis. This model not only includes the current state transition test class information, and contains the code obtained from the data members definition and use of information, not only to make the new test model is usually based on the state of the test can not detect the type of data regardless of the state members of the defect, and to ensure that define - use the path of implementation, can avoid the overhead of conventional data flow testing, low efficiency problem. Based on a class diagram to construct a method call has to AOV network, and based on the directed AOV network proposes a hybrid test method can be applied to object-oriented programming integration testing by selecting a method call sequence, and embedded data flow testing to generate test cases, the new test method not only simplifies the test case generation, and provides a full code coverage. Based on the test model proposed hybrid class architecture, combined with information exchange standard UML-XMI technology to achieve an object-oriented program of automatic test case generation tool TCAGS. When the designer of the software design specification into XMI format file, testers need not be concerned about the use of CASE tools designers can use the test tool to analyze the XMI file and program execution code, and finally automatically generate test cases, the new Test tools to help get rid of the testers design specifications diversity brings constraints to reduce the workload and improve test efficiency.
Table of contents
Abstract 6-7
ABSTRACT 7-8
illustrations Index 8-9
Schedule Index 9-10 <br / > abbreviations Notes Table 10-11
Chapter 1 Introduction 11-18
1.1 object-oriented program test 11-15 <br / > 1.1.1 testing object-oriented programming features 12-13
1.1.2 testing object-oriented programming technology development 13-15
1.2 for object program testing methods and tools used 15-16
1.3 this major work done 16-18
Chapter 2 background 18-30
2.1 state-based testing techniques 18-22
2.1.1 basic Concepts 18-19
2.1.2 in object-oriented programming using state-based testing techniques to generate test cases 19-22
2.1.3 state-based testing techniques the problems 22
2.2 data Flow Testing Technical 22-26
2.2.1 basic Concepts 22-23
2.2.2 in object-oriented data flow testing procedures used to detect data anomalies 23-25 ??
2.2.3 data Flow Testing technology problems 25-26
2.3 XMI technology 26-30
2 .3.1 basic concepts 26-27
2.3.2 XMI document structure 27-28
2.3.3 XMI technology in the application of this article 28-30
Chapter 3, the test model based on hybrid class object-oriented programming unit testing 30-40
3.1 Introduction 30
3.2 mixed class test model 30-35
3.2.1 describe the class state transition relations 30-32
3.2.2 definition of static analysis and use of data members sequence 32-33
3.2.3 build hybrid class test model 33-35
3.3 test model based on hybrid classes in object-oriented program to generate test cases 35-37
3.4 experimental analysis and comparison 37-39
3.5 Summary 39-40
Chapter 4, based on a method call mixing the AOV network testing methods in object-oriented integration testing procedures applied research 40-44
4.1 Introduction 40
4.2 class diagram -based construction method invocation directed AOV network 40-42
4.3 application integration testing 42-43
4.4 Summary 43-44
Chapter 5 object-oriented programming automatic test case generation tool TCAGS 44-54
5.1 Introduction 44
5.2 system Requirements Analysis 44-46 < br /> 5.3 design and implementation 46-53
5.3.1 system Design 46-47
5.3.2 module One : XMI file parsing the concrete realization 47-50
5.3.3 module II : DU path scanner concrete realization 50-52
5.3.4 module 3: testing use case builder concrete realization 52-53
5.4 system graphical user interface GUI 53-54
Conclusion 54-55
References 55-61
Thanks 61-63
Appendix A ( study for a degree completed during the academic catalog ) 63-65
Appendix B ( study degree participated in during the project directory ) 65
Related dissertations
- Research on the Impact of Human Resource Management on Employees Performance
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- Design and Implementation of Automated Test Case Generator
- The Design and Implementation of Sinopec Sales Co.,Ltd Personnel Management System
- Design and Implementation of Tianhua College Office System
- Universities Fixed Asset Lifecycle Management System Design
- Analysis and design of engineering project management system
- The Design and Implementation of Vehicle Tracking Management System
- Design and Implementation of the Management System of the Service Area
- The Design and Realization of Campus Blog System Based on ASP
- The Design and Implementation of the Ship Agency Management System
- Design and Implementation of Supermarket Chain Chongqing Chongkelong Co Information System
- Design and Implementation of Network Curriculum Teaching Platform for Middle School
- Design and Implementation of Electricity Management System in Dongying Estuary Area Power Supply Company
- Analysis and design of student information management system
- Design and Implementation of Community Management Sub-System on Police Mobile System
- Chengdu Jinjian Finance Bureau Financial Approval System Design and Implementation