Application of Neural Network and Genetic Algorithm in Output Domain Based Software Testing

Author
LvShanShan
Advisor
ZhaoRuiLian
School
Beijing University of Chemical Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
149
Citations
4

Request the full text

Abstract

Software testing is a critical step in ensuring the quality of software . For some software , the output field there are many concern the detection point , suitable starting design test cases from the output domain . If the test data can be automatically generated , testing will significantly reduce overhead . The test automation key is automatically generated test input and the expected output for a given output , according to the tested software specification is more difficult to automatically generate the corresponding input . Explore a method based on the output field test data automatically generated important theoretical significance and practical value . Complex nonlinear relationship between input and output for most of the tested software Therefore, the use of nonlinear mapping function of the neural network , build a functional model of the software under test to simulate the software under test function correctly express the relationship between the input and output ; on this basis , for a given output , the use of a genetic algorithm to search for the appropriate input , and genetic algorithm is proposed to improve the new crossover and mutation operator . Experimental results show that : the automatically generated test cases based on the output domain method is effective and build functional model can correctly simulate the functionality of the software under test , improved genetic algorithm to improve the efficiency and success rate of test generation .

Table of contents

Abstract 4-5 ABSTRACT 5-12 The first chapter 12-18 1.1 research background and significance 12-14 1.2 research status 14-17 1.2.1 test cases based on the output of automatic generation of domain status 14-15 1.2.2 neural networks and genetic algorithms in software testing application 15-17 1.3 The main work and organizational structure 17-18 1.3.1 Research objectives and content 17 1.3.2 The paper is organized 17-18 Chapter neural network and genetic algorithm technology 18-32 2.1 Neural network technology 18-26 2.1.1 Neural Networks basic features and functions 18-20 2.1.2 Structure of biological neurons and artificial neuron model 20-22 2.1.3 neural network technology, the basic elements of 22-23 2.1.4 BP neural network 23-26 2.2 genetic algorithm technology 26-30 2.2.1 genetic algorithm technology, history 26-27 2.2.2 The basic idea of ??genetic algorithms 27-28 2.2.3 encoding and fitness function 28 2.2.4 Genetic Operators 28-30 2.3 Chapter Summary 30-32 Chapter tested software based on neural network model construction capabilities 32-42 3.1 tested software functional model build process 32-33 3.2 training sample design 33-35 3.3 network architecture design 35-38 3.3.1 Network layer design 35 3.3.2 to determine the number of neurons in each layer 35-37 3.3.3 Selection of the transfer function between layers 37-38 3.4 network training 38-39 3.5 build functional models tested software in MATLAB 39-41 3.6 Summary 41-42 Chapter genetic algorithm -based automatic test case generation output field 42-54 4.1 Encoding 42-43 4.2 fitness function 43-44 4.3 Options 44-45 4.4 crossover 45-48 4.5 mutation 48-49 4.6 test cases based on the output domain generation algorithm described 49-52 4.7 Chapter Summary 52-54 fifth chapter is based on automatic generation of test cases output field experiments and analysis 54-64 5.1 Construction of the tested software functional model experiments and analysis 54-59 5.2 based on test case generation output field experiments and analysis 59-62 5.3 Chapter Summary 62-64 Chapter VI Conclusion 64-66 6.1 The main contribution of this paper 64 6.2 further work 64-66 References 66-70 Thanks 70-72 papers published during the study for a degree directory 72-74 Authors and Instructors 74-75 Beijing University of Chemical Technology graduate dissertation committee resolution book 75-76

Related dissertations

  1. Intelligent Intrusion Detection Algorithm for WLAN
    ZhongLiFei ·Hunan University ·2013 ·Master's thesis
  2. Application of Soft Switch Technology in Switching Power Supply and Harmonic Analysis
  3. An Intelligent Control Method for the Shifting of the Dry-type DSG
    LiQiuMei ·Central South University ·2013 ·Master's thesis
  4. Analysis of Draw Flow Field and Deformation Control during Extrusion of Polymer Catheter
    ChenYuHui ·Central South University ·2013 ·Master's thesis
  5. Stock Prediction Based on Genetic Neural Network Algorithm
    YangFan ·Lanzhou University ·2013 ·Master's thesis
  6. Research of P2P Detection Based on Genetic Neural Network
  7. Research on the Optimal Methods of the Listed Company Financial Distress Prediction
    ZhouXi ·Central South University ·2011 ·Master's thesis
  8. Analog Circuit Fault Diagnosis Based on Neural Networks
    WangXiaoQin ·Hunan University ·2011 ·Master's thesis
  9. The Application of GA-BP Nneural Network in the Navigation Path Planning
    ChenRui ·Zhejiang University of Technology ·2013 ·Master's thesis
  10. Self-propelled artillery optimization method and its application
  11. Prediction of Interference Path Loss from PEDs Inside an Aircraft Cabin to Exterior Fuselage-mounted Antennas Based on Hybrid Neural Network
  12. Research on Elid Grinding Mechanism and Technique for Monocrystalline Silicon
    MaMingMing ·Zhejiang University of Technology ·2012 ·Master's thesis
  13. A Study on Intelligent Detection and Control Approaches of Distortion Currents for Active Power Filters
    WangPing ·Tianjin University ·2005 ·Doctoral dissertation
  14. Intelligent Soft Computing Method and Application to the Forward and Inverse Analysis of Dam’s Security Monitoring Data
    ZuoZhiHong ·Tianjin University ·2005 ·Doctoral dissertation
  15. The Experiment and Optimization Approaches Research on Selective Laser Sintering Process
    WangRongJi ·Hunan University ·2005 ·Doctoral dissertation
  16. Study on Small Business Credit Scoring and Its Application Based on Logistics-ANN Model
    JiFengHua ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. The Logistics Center Location Planning of Tralin Group Straw Supply
    ZhouXuan ·Nanjing Agricultural College ·2013 ·Master's thesis
  18. Stock Price Index Analysis and Prediction Based on Data Mining Technology
  19. Research on Elevator Group Control System Scheduling Policy and Simulation Design
  20. Study on MDF Continuous Press Position Servo System Modeling and Intelligent Control
    HuangXiaoZhou ·Northeast Forestry University ·2013 ·Master's thesis