Software Automated Testing Research and Practice
- Author
- CaiZhiXian
- Advisor
- TangZhenMin
- School
- Nanjing University of Technology and Engineering
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 709
- Citations
- 31
Abstract
Software testing, an indispensable part in the life span of software, plays an important role in improving the quality of software. With the development of software testing, there is a great advance in the technology of software testing. Based on the comparison and analysis of the current automatic testing technology, this paper points out the improvement to be made in the automatic testing instrument, especially in the structure, decoding and encoding of the tested data, the automatic generation of stub function and driving code in unit testing. For the purpose of improvement, this paper introduces three kinds of crucial technology along with their specified fulfilling plan. Among them are the separation of data from code based on the data driving, the automatization of encoding and decoding of data and the automatic generation of stub function and driving code. And also this paper gives an illustration about ATE’s application in the unit testing through a case of unit testing and a further discussion at the end about the development in automatic testing technology.This paper mainly covers three approaches as following:1 . An automatic system and approach to unit testing based on data driving, by which the writing of testing code can be simplified and the variation and repetitive compiling of the code can be avoided due to the their variation and addition by taking the information of the tested code’s structure definition.2 An approach to encoding and decoding data, by which the encoding and decoding of structure data can be achieved by taking the information of the tested code’s structure definition through the encoding and decoding device resulting from the application of the approach.3 A unit testing approach to automatic generation of stub function and driving code. A unit testing approach to automatic generation of variable controlling function stub function and driving function is offered, thus resulting in less work by hand and higher efficiency of unit testing.
Table of contents
Abstract 3-4
ABSTRACT 4-5
directory 5-7
1 Introduction 7-21
1.1 software testing theoretical foundation 7-10
1.2 automated testing Overview 10-18
1.3 the main work 18-20
1.4 sections of this article arrangements 20-21
2 based on data -driven unit test automation systems and methods 21-30
2.1 Introduction 21
2.2 ATE test data structure 21-23
2.3 ATE test data structure advantages 23
2.4 detailed implementation 23-30
3 a data encoding and decoding implementations 30-36
3.1 Introduction 30
3.2 ATE data codec 30-31
3.3 ATE codec advantage 31
3.4 detailed implementation 31-36
4 piles and driving an automatic generation of unit test methods 36-44
4.1 Introduction 36
4.2 ATE automatically generates stubs and drive functions 36-37
4.3 ATE automatically generates stubs and drivers function advantages 37
4.4 detailed implementation 37-44
5 ATE practical application 44-62
5.1 configuration of the test environment 44-47
5.2 extracts data structure information 47 -49
5.3 automatically generates stubs and driver code 49-54
5.4 creating test cases 54-56
5.5 editing test data 56 - 58
5.6 execute test cases 58-59
5.7 View Test Results 59-60
5.8 automated test 60-61
5.9 Summary 61-62
6 Conclusion 62-64
Thanks 64-65
References 65-66
Related dissertations
- Development of ATE Signals On-line Monitoring Equipment
- Design and Implementation of Measuirng Instrument Detection System Based on ASP.NET
- Reliability Computing of Concurrent Software Based on Program Invariants
- The Design and Verification of Configurable Host Port Interface on DSP64X
- Study of RF Chip Testing Technology Based on ATE
- Design and Implementation of Floating Arithmetic Unit in FT-Matrix DSP
- Research on Design and Fabrication of EUV Source Collector
- Putonghua Training and Testing Survey and Research in Sichuan Multiethnic Areas
- Research of Greenhouse-type Electric Tobacco Shearer
- The Design and Development of the Self-propelled Rice Seedling Combined Machine
- Research on Software Technology in HVDC Transmission Design Software Package
- Research on Testing System of Direct-drive Wind Turbine Generator
- Finite Element Analysis and Testing Research of Temperature Stress of Nuclear Reactor Plant Raft with Merge Concreting
- Energy-saving Analysis and Study of the Electronics Industry
- Detection and Reinforcement of a Station in Shenyang of the Reinforced Concrete Frame Structure
- Multi-domain Simulation and Optimization Design of Magnetorheological Brake
- Research and Application on the Simulation Testing and Verification Techniques in the Railway Signaling System
- Study of the Establishment of Quality Management System the Aircraft Manufacturing Company
- Toric Lens Processing and Testing Technology Research
- Research on the "ATE" Three-Dimension Appraising of Product Modeling Design