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

Request the full text

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

  1. Development of ATE Signals On-line Monitoring Equipment
    QianKeWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  2. Design and Implementation of Measuirng Instrument Detection System Based on ASP.NET
    ZhuLi ·Hunan University ·2013 ·Master's thesis
  3. Reliability Computing of Concurrent Software Based on Program Invariants
    ZhouHui ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  4. The Design and Verification of Configurable Host Port Interface on DSP64X
  5. Study of RF Chip Testing Technology Based on ATE
    LuoQing ·South China University of Technology ·2013 ·Master's thesis
  6. Design and Implementation of Floating Arithmetic Unit in FT-Matrix DSP
  7. Research on Design and Fabrication of EUV Source Collector
    ZhuDongYuan ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. Putonghua Training and Testing Survey and Research in Sichuan Multiethnic Areas
    LiuKai ·Sichuan Normal University ·2013 ·Master's thesis
  9. Research of Greenhouse-type Electric Tobacco Shearer
    LiuLi ·Shandong Agricultural University ·2013 ·Master's thesis
  10. The Design and Development of the Self-propelled Rice Seedling Combined Machine
    MengYuanYuan ·Ningxia University ·2014 ·Master's thesis
  11. Research on Software Technology in HVDC Transmission Design Software Package
    LiZhiPeng ·Zhejiang University ·2014 ·Master's thesis
  12. Research on Testing System of Direct-drive Wind Turbine Generator
    ZhangXiaoShan ·Hunan University of Technology ·2013 ·Master's thesis
  13. Finite Element Analysis and Testing Research of Temperature Stress of Nuclear Reactor Plant Raft with Merge Concreting
    ZhangZhong ·Tianjin University ·2012 ·Doctoral dissertation
  14. Energy-saving Analysis and Study of the Electronics Industry
    LiuYingJun ·West China University ·2012 ·Master's thesis
  15. Detection and Reinforcement of a Station in Shenyang of the Reinforced Concrete Frame Structure
  16. Multi-domain Simulation and Optimization Design of Magnetorheological Brake
  17. Research and Application on the Simulation Testing and Verification Techniques in the Railway Signaling System
    WangDong ·Zhejiang University ·2014 ·Doctoral dissertation
  18. Study of the Establishment of Quality Management System the Aircraft Manufacturing Company
  19. Toric Lens Processing and Testing Technology Research
  20. Research on the "ATE" Three-Dimension Appraising of Product Modeling Design
    WangMin ·Wuhan University of Technology ·2013 ·Doctoral dissertation