Class State-Based Automation Testing IDE Study
- Author
- ZhangBaoWei
- Advisor
- ZhangYiKun
- School
- Xi'an University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 105
- Citations
- 1
Abstract
With the development of information-based society , the scale of software is in constant growth . Software engineering is also scratch continues to evolve, evolving from the waterfall model to the spiral model , spiral model to the fountain model as well as agile development , test-driven development . In the same time , the software programming model also accompanied by the birth of object-oriented languages ??and applications from process-oriented to the object-oriented and aspect-oriented programming ideas . Regardless of the programming language , programming models , and software engineering methods , software testing occupy an important position in the software development process . This article discusses the characteristics of object-oriented software and software testing , analysis of state test model - UML class state machine make the appropriate constraints and structure analysis , to make it suitable for the automated testing process . On this basis , the paper design and realization of a UML-based the C test integrated development environment CppTestIDE . UML-based analysis and design Statute of the document as an important basis for 00 software testing , by UML documentation syntax analysis , extract class state machine model ; class state machine model analysis manually generate test cases ; according to the generated test cases constructed drive module generates the test apparatus . At the same time , the source code instrumentation to measure code coverage . On this basis , the Programme Nakazawa the test apparatus and the source code to generate the test apparatus to perform file . Finally, the drive test setup executable file , analyze test results , and generate test reports .
Table of contents
The first chapter 7-18
1.1 legislature title background 7-9
1.2 object-oriented programming features of the impact of software testing 9-13
1.2.1 encapsulation and information hiding for testing the impact of 10
1.2.2 inherited influence on the test 10-11
1.2.3 polymorphism and dynamic binding given the impact of the test 11-13
1.3 object-oriented software testing process 13-16
1.3.1 object-oriented software testing techniques 13-15
1.3.2 UML-based class state test 15-16
1.4 This article aims and main tasks 16-18
Chapter class of state test model 18-26
2.1 class status can test models - FREE model 18-20
2.2 Test Model Checking and construction 20-25
2.2. a deterministic check 20-21
2.2.2 Consistency Checker 21-23
2.2.3 sanity checks and construction 23-25 ??<br / > 2.3 Summary 25-26
Chapter CppTestIDE system architecture 26-35
3.1 coverage criteria 26-29
3.1.1 Structural Testing Guidelines 27
3.1.2 Functional Testing Standards 27-29
3.1.3 state test coverage criteria 29
3.1.4 cover quasi measured Select 29
3.2 CppTestIDE system function and structure 29-31
3.3 system data exchange file 31-33
3.3.1 State Machine Description DTD File 31-33
3.3.2 Test Case Description DTD file 33
3.4 Summary 33-35
Chapter CppTestIDE System Design and Implementation 35-56
4.1 UML text scanner design and implementation 35-43
4.1.1 UML state diagram of the relationships between classes 35-37 < br /> 4.1.2 UML state diagram LALR (1) grammar 37-40
4.1.3 Lexer lexical analysis class design 40-41
4.1.4 Parsing class Parser design 41-42
4.1.5 with BISON generated class 42-43
4.2 test case generation 43-45
4.2.1 test case class definition 43-44
4.2.2 manually generated test cases 44-45
4.3 test fixture builder 45-49
4.3.1 The test device relationships between classes 45-46
4.3.2 testers base class Tester definition 46-47
4.3.3 testers class CUTTester structure 47-48
4.3.4 Main () function to construct 48-49
4.4 code instrumentation is 49-51
4.4.1 C grammar rewrite 49-50
4.4.2 probe function 50-51
4.5 Other devices 51
4.6 Example 51-55 < br /> 4.6.1 state diagrams and code correctly test the sample 52-53
4.6.2 state diagram and correct error code when the test sample 53-54 <br / > 4.6.3 defective state diagram and test the sample code to achieve correct 54-55
4.7 Summary 55-56
chapter summarizes 56-59
Thanks 59-60
References 60-64
papers published during the school 64
Related dissertations
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- Design and Implementation of Test Drive Management Information System Based on Clients
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application
- The Study and Realization of the Android Tablet Stability Automated Test
- Research on Testing Technology of Video Codec