Research on Model of Automated Test Case Generation Based on Functional Object and Its Implementation
- Author
- LvGeFeng
- Advisor
- SunJiaGuang , ZouBeiZuo
- School
- Hunan University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 228
- Citations
- 2
Abstract
Automatic generation of test cases is an important aspect of software testing, test case generation complexity and quality directly affects the efficiency and coverage of testing, test case generation can say that technology has become the soul of software testing. Existing automated test for functional testing theory is mainly divided into two categories: Based on the Statute of the test case generation programs and GUI-based test case generation scheme information. Based on the Statute of the program will be tested on test case generation software functionality to formal description, according to the formal language of predicate logic to derive the program input and output constraints between, and then use mathematical methods to get the software input fields, according to the corresponding test theory has been test cases, such as those based Statute Z specifications and test cases based on UML technology is automatically generated using this scheme, which is not considered a major deficiency software interface status information, and therefore generate a complex software interface status test cases due to the complexity of large and difficult to achieve; while the GUI-based test generation main consideration is the software interface status information to the interface state constraint as test case generation criteria to the interface as a test case coverage Main evaluation criteria. The main disadvantages of this approach is one-sided emphasis on the state of the interface coverage while ignoring the functional significance of the software, thus causing the quality of the generated test cases is not satisfactory, the test is less efficient. In this study, 863 base class research project \The GUI testing and coverage criteria to test the technology-based scripts, one for the proposed interactive software systems with complex test case generation model - based on test case generation functional object model, which uses object-oriented thinking, the user Use the operation of the system being tested processes to function as a unit split, the package as a functional object, and then function as a combination of constraint relations between the criteria for functional objects restructuring, the formation of test cases to test drive the system being tested. This model improves the general statute is difficult to apply to the object-oriented model (OO) software shortcomings, but also to avoid the general interface GUI test coverage criteria sided pursuit of the drawbacks to some extent simplifies the interactive software test case generation . The proposed test case generation model, has been in three-dimensional digital design system dedicated test platform CADTesting successfully implemented, the current CADTesting been applied to the domestic three-dimensional digital design system TiGems tests for TiGems system operation stability, reliability make a certain contribution.
Table of contents
Directory 5-8
Summary 8-9
ABSTRACT 9-10
illustrations index 10-11
attached Table Index 11-12
Chapter 1 Introduction 12-21
1.1 Software Test Description 12-15
1.1.1 What is software testing 12-13
1.1.2 software testing principles 13
1.1.3 software testing life cycle 13-14 < br /> 1.1.4 software testing technology 14-15
1.1.5 Software Test 15
1.2 Background of this research and study abroad Status 15-19
1.2.1 research background 15-16
1.2.2 research status 16-19 <br / > 1.3 This work 19-20
1.3.1 The main research content 19-20
1.3.2 of this paper is organized 20
1.4 Summary 20-21
Chapter 2 GUI software and interactive software test coverage criteria 21-28
2. 1 Introduction 21
2.2 interactive software testing methods 21-23
2.2.1 Reciprocal Enforcement program flowchart 22
2 2.2 Functional Test Guidelines 22-23
2.3 GUI software testing methods 23-27
2.3.1 GUI component collection 23 - 24
2.3.2 GUIs event classification 24-25
2.3.3 GUI representation 25-26
2.3.4 Test coverage criteria 26-27
2.4 Summary 27-28
Chapter 3 script-based testing technology 28-35
3.1 Introduction 28
3.2 Test Script Description 28-29
3.3 Test Script technology 29-34
3.3.1 Linear Script 29-30
3.3.2 structured script 30
3.3.3 Shared Script 30-32
3.3 .4 data-driven script 32-33
3.3.5 keyword-driven scripts 33-34
3.4 Summary 34-35 <br / > Chapter 4 test case generation based on functional object model 35-47
4.1 Introduction 35
4.2 The introduction of functional objects 35-36
4.3 Functional Object 36-39
4.3.1 Definition of functional objects and nature 36-37
4.3.2 of functional objects Relations 37
4.3.3 Function object constructor 37-39
4.4 test case generation 39-44
4. 4.1 functional object sequence generation 40-41
4.4.2 test data sequence generation 41-44
4.5 Experimental Analysis 44 -46
4.6 Summary 46-47
functional objects in Chapter 5 Application Examples 47-58
5.1 Introduction 47
5.2 Functional Object Description 47-56
5.2.1 build document object NewDoc 47-48
5.2.2 with graphic objects Pview 48-49
5.2.3 Pick Object Select 49-50
5.2.4 plane polygon object Polygon 50-51
5. 2.5 equidistance line object Isometry 51-52
5.2.6 Tensile object Extrude 52-53
5.2.7 Trimming objects Shear 53-55
5.2.8 quartic spline curve object Curve 55
5.2.9 saved document object SaveDoc 55-56
5.3 Functional Object Relational 56
5.4 GTL application 56-57
5.5 Summary 57-58
conclusion 58-60
References 60-64
Thanks 64-65
Appendix A completed during the study for a degree thesis and participation in projects 65-67
Appendix B CADTesting software copyright certificate 67-68
Appendix C CADTesting enterprise applications prove 68
Related dissertations
- Research on Web Service Testing Model and Testing Approach Based on Agent
- Model-based GUI Test Case Generation
- The Research and Design of Test Case Generation Tool Based on Constraint Programming
- Research on Software Test Module of Lead-free Solder Paste Printed Equipment
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- Design and Implementation of a GUI Testing Plugin for the Eclipse Platform
- Testing for Selecting Atm Equipments Based on Event-Driven
- N3806Mobile Phone Black Box Testing Management and Method
- Nuclear power software testing research based on local continuity
- Test Case Generation and Management
- Website Design and Implementation of Mobile Phone Sales
- The Design and Implementation of Software Testing Architecture of Wireless Sensor Networks
- Research on Analysis and Testing Techniques of Object-Oriented Programs
- Research and Implementation of Testing Techniques for UML
- Reuse Strategy and Its Implementation on Software Testing and Evaluation
- Research on Some Key Technology of Software Testing Reuse Based on Formal Method
- Key Technology Research service grid environment scenario testing
- The Research on GUI Testing Based on Relating Event
- Software Testing Study and Its Implementation in Multimedia Network Teaching System
- Research and Application of Software Unit Test