Test Cases Generation of Class Testing Based on CHAM
- Author
- ZhaoYanJun
- Advisor
- CuiDongHua
- School
- Taiyuan University of Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 20
- Citations
- 0
Abstract
Software testing in the software development process is an extremely important part of software testing is a process complicated , time-consuming and labor-intensive and has a high repetitive work . In order to improve the efficiency of software testing people developed a variety of automated testing tools for software lifecycle . Test cases are the basis of software testing , test case has a very important impact on the quality and efficiency of software testing , test cases automatically generated test suite to streamline software automation testing will become an important research direction . With the extensive application of object-oriented software development technology , the unique object-oriented features such as : polymorphism, inheritance , encapsulation , and so on , for software testing proposed new requirements. This article describes the current domestic and international software testing research status, a brief analysis of the impact of some of the features of software testing object-oriented software development technology . Detailing the main method of generating test cases , test cases generated automatically and object - oriented technology for the analysis . Class test cases including test sequences and test data , analyzed in detail suitable for object-oriented test sequence generation based on formal specification methods and state-based approach , as well as the structural test data generation techniques , described in detail the modern heuristic the application of the algorithm on the test data generation . In this paper, based on chemical abstract class test sequence generation method , by the use of chemical abstract machine to describe the state of the class to represent the interaction between the state , the chemical reaction of the abstract machine rules . Select a label with a migration system as a representation of the dynamic behavior of the chemical abstract machine tools . Finally , in accordance with the state test coverage criteria to generate the test sequence. In this paper, the the ATM state diagram as an example on the basis of the above analysis CHAM model , the solution of the reaction process , and the establishment of LTS LTS based on coverage criteria to generate the test sequence in accordance with the state and migration . This article relates to the algorithms in the VC environment .
Table of contents
Abstract 3-5
ABSTRACT 5-9
The first chapter 9-15
1.1 research background and significance 9-10
1.2 research status 10-11
1.3 This major work 11-12
1.4 This organizational structure 12-15
Chapter object-oriented software testing 15-31
2.1 object-oriented features as well as the impact of software testing 15-17
2.1.1 information hiding and encapsulation 15-16
2.1.2 inheritance 16
2.1.3 polymorphism and dynamic binding 16-17
2.2 object-oriented software testing and testing strategies hierarchical division 17-20
2.2.1 hierarchical division 17
2.2.2 object-oriented testing strategies 17-20
2.3 object-oriented test case generation 20-28
2.3.1 test case definitions 20-21
2.3.2 test case generation method 21-22
2.3.3 automatic test case generation techniques 22-28
2.4 test the adequacy of 28-29
2.5 Chapter Summary 29-31
The third chapter is based on the type of test CHAM basis 31-35
3.1 chemical abstract machine model 31-33
3.1.1 molecules, solution and membrane 31
3.1.2 Transformation Rules 31-32
3.1.3 CHAM formal grammar 32
3.1.4 CHAM description class status 32-33
3.2 labeled transition system 33-34
3.3 Chapter Summary 34-35
Chapter CHAM-based test generation algorithm 35-39
4.1 CHAM syntax description 35
4.2 Reaction rules classify 35
4.3 LTS generation algorithm 35-37
4.4 LTS generate test sequences 37-38
4.4.1 test coverage criteria 37
4.4.2 Test sequence generation algorithm 37-38
4.5 Chapter Summary 38-39
Chapter ATM test sequence generation 39-47
5.1 CHAM state diagram describes the ATM 39-42
5.1.1 CHAM formal grammar 39-40
5.1.2 initial solution and stop solution definition 40-41
5.1.3 Reaction rules 41-42
5.2 CHAM export LTS 42-44
5.3 LTS generate test sequences 44-46
5.4 Summary 46-47
Chapter experiments and results analysis 47-53
6.1 CHAM-based class testing principle 47-49
6.2 CHAM an ATM-based test sequence generation experiments 49-52
6.2.1 ATM's CHAM description 49-50
6.2.2 generated LTS 50
6.2.3 generate test sequences 50-52
6.3 Experimental results 52
6.4 Chapter Summary 52-53
Chapter Summary and Outlook 53-55
References 55-59
Thanks 59-61
papers published during the study for a degree directory 61
Related dissertations
- Object-Oriented Software Testing Method and Application in Composite Explosives Detection System
- Digital Voice Teaching System Design and Implementation of Object-Oriented Programming
- Study on the Techniques for Testing Client/Server Software System
- Object - oriented software testing research
- Study of the Theory and Techniques for Testing Object-Oriented Software
- STGA - based testing of concurrent programs
- Testing Technique Based on Software Architecture
- Software Design for Control System of Electro-hydraulic Three-axis Flight Simulator
- The Design and Implementation of Website Construction Based on OpenCms Technology
- 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
- Design and Implementation of Materials Management System of Multi-level Educational Institutions
- 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
- Design and Implementation of Ji’nan Waterconservancy Bureau Covers Security Information System
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing