Fitness Function Design for Nested If-Else and Function Call Flow Involved Construct in Evolutionary Testing

Author
ZhangMiao
Advisor
LiuXiYang
School
Xi'an University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
22
Citations
1

Request the full text

Abstract

Evolutionary testing is very important to the rise in recent years of an automated test data generation techniques. The main idea of ??the evolutionary test is the test data generation problem is transformed into the evolutionary search problem, in order to achieve the automation of the test. Evolution of the global search capability of testing the use of evolutionary algorithms, under the guidance of the oriented fitness function, able to quickly and efficiently generate test data automatically. The fitness function is a very important aspect of the evolutionary test. A well-designed fitness function to provide better and more accurate guide to the evolutionary search, thus improving the efficiency of evolutionary search. Therefore, the fitness function has been evolutionary hot research field testing. Many well-designed fitness function is applied to evolutionary search. Nested if-else structure, due to its special multi-layer nested structure, when the test data in a layer of deviation from the target branch, other branches nested in the layer will no longer be performed at this time directly calculate the appropriate value. This situation has led the loss of information of the satisfaction degree of the test data in the inner layer is not performed on the branch. Resulting in unfair evaluation of the test data. To address this issue, we draw on the idea of ??a measurable transformation, proposed the concept of branch optimism. Accumulated branch distance calculation on the test data in the execution of the branch by branch optimism. Added by branch optimism normalized to the original fitness function, a fitness function for nested if-else structure is successfully raised. When the execution of the test objectives related to the structure of function calls, the existing fitness function is no longer applicable. This is due to the existing static analysis of the fitness function only for test target located inside a function, and does not consider test target dependence of the function call. This involves a function call test target, this article by function calls, static analysis, highlighting key branch in the chain of function calls identified methods, proposed the concept of function approximation degree. Function approximation degrees used to measure test data dependency chain to meet the test objectives in the function call. Ultimately, a new fitness function involved in the function call test target. Two fitness function proved through the experimental test, nested If-Else structure and function call structure to more effectively guide evolutionary search to improve search efficiency.

Table of contents

Abstract 3-4 Abstract 4-7 first chapter 7-11 1.1 research 7-8 1.2 research status 8-9 1.3 research questions 9 organizational structure 1.4 papers 9-11 the evolutionary testing techniques 11-17 2.1 evolutionary test 11-12 2.2 basic concepts 12-14 2.3 fitness function formula 14-17 Chapter nested If-Else structure fitness function design 17-33 The fitness function 3.1 Nested If-Else structure calculation 17-20 3.2 appropriate value calculated based on branch distance 20-23 3.2.1 cumulative the branch distance coincided calculated 20-21 3.2.2 cumulative branch distance the appropriate value calculation method 21-23 3.3 new fitness value calculation method for nested If-Else structure 23-30 3.3.1 Nested If-Else structure fitness function design 23-27 3.3.2 Nested If-Else structure appropriate value calculation 27-30 3.4 further discussion 30 3.5 This chapter Summary 30-33 Chapter fitness function based on the function call depends on the design 33-45 4.1 function call chain of fitness function design 33-37 4.2 based on function call depends on the fitness function design 37-42 4.2.1 function call dependency analysis 37-39 4.2.2 based on the function call depends on the fitness function design 39-41 4.2.3 multiple function calls the dependency chain of fitness function design 41-42 4.3 further discussion 42-43 4.4 This chapter Summary 43-45 Chapter experiments with the analysis 45-53 5.1 tools framework 45-47 5.1.1 static analysis phase 45 5.1.2 evolutionary search phase 45-47 5.2 nested If-Else structure of the experimental validation of the fitness function and results analysis 47-48 5.3 for the experimental validation of the fitness function based on the function call flow and results analysis 48-50 5.4 This chapter Summary 50-53 Chapter VI Conclusion 53-55 6.1 summarizes 53 6.2 further research 53-55 Acknowledgements 55-57 the References 57-59 the author read during research 59

Related dissertations

  1. Enumeration Problem in Evolutionary Testing
  2. The Intrusion Detection System Research Based on Adaptive Genetic Algorithm
  3. Evolution method in image processing
    YangGuoRong ·Guizhou National University ·2012 ·Master's thesis
  4. Research on image matching degree function search strategies and adaptation
    SongFangFang ·Guizhou National University ·2012 ·Master's thesis
  5. And the realization of software testing reuse management subsystem design
  6. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  7. Research on software testing technology based on complex network theory
  8. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  9. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  10. Research of Software Testing Method Based on Cloud Computing
  11. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  12. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  13. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  14. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  15. The Design and Implementation of Banking Software Testing Based on Bugfree
  16. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  17. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  18. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  19. Design and Implementation of Courses Arrangement System Based on Genetic Algorithms
  20. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B