Research of Test Suite Optimization Method on Regressing Test Model

Author
YangZhiXia
Advisor
WeiDongPing , LiKeWen
School
China University of Petroleum
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
160
Citations
4

Request the full text

Abstract

Software testing is a very important part of the software development process. As software increasingly large, the time spent on software testing, human, material also more and more. The number of test cases determines the cost and efficiency of software testing. How to use minimal test cases to get the best test results in software testing to ensure the quality and the premise of fully tested software key operational, is one of the main topics of software testing. The main topic of discussion of how to model for regression testing, test suite generation and reduction, largely to reduce the cost of regression testing to reduce test time and increase the efficiency of regression testing. This paper first introduces the research background and significance of the details of the test suite to optimize the research status, and then describes the software testing, regression testing and test case generation and optimization theory basics. In the analysis of the existing test suite optimization method based on the proposed model improvements based on regression testing use case set optimization method. First, regression testing, be modified or newly added features in the software, relying solely on previous re-run the test cases and not enough to reveal the problem, it is necessary to append new test cases to test these new functions or features. Test case generation method, In this paper, a combination of two test data generation method and the method and ant colony algorithm to improve the AETG two methods to generate test cases. Secondly, the study for regression testing model test suite reduction method. Regression test model of the original test case library contains redundant, and the failure of the test case, we need their reduction work, must contain a new set of test cases generated NT can meet the test of the original test suite OT The demand test cases. Model for the optimization of the test suite for regression testing first OT and NT reduction, in order to reduce the complexity of test cases and between test cases and test requirements, mainly uses the greedy algorithm. To OT and NT then merged set of optimization of the overall test cases, reduce duplicate redundant test cases, the maximum extent possible to reduce the cost of software testing. Improved greedy algorithm optimization. Pattern matching process improved AETG paired combinations covering technology fully consider the role of a combination of factors in the system and in the choice of the factor level values, reduce the time to select the level of value, with the number of cases and reduce the generating redundant; ant colony The algorithm provides a whole new way to solve the pairwise combinations coverage test data generation problem, the ant colony algorithm to generate a small number and covering more pairwise combinations of test cases; in the merger of the original set of use cases and new cases set on the basis of the relationship of the testing requirements to optimize testing requirements, improved greedy algorithm can effectively reduce the size of the regression test suite, and reduce time spent. Therefore, the proposed method can quickly generate fewer test cases, effectively reducing the scale of regression testing, to optimize the test suite purpose.

Table of contents

Abstract 4-5 Abstract 5-9 first chapter 9-15 1.1 Background and Significance 9-10 1.2 research status 10-12 1.3 main contents 12-13 1.4 thesis structure 13-15 Chapter II test suite optimization theory foundation 15-32 2.1 software testing classification and 15-18 2.2 test cases basic theory 18-29 2.2.1 test case generation method 19-25 2.2.2 regression testing, test case maintenance 25-27 2.2.3 test demand reduction 27-29 2.3 test cases set to minimize 29-32 test suite optimization techniques Introduction 32-41 3.1 heuristic algorithm 32-37 3.1.1 greedy algorithm 33 3.1.2 ant colony algorithm 33-37 3.2 pairwise combinations of coverage testing technology 37-40 3.2.1 combination test method 38 3.2.2 pairwise combinations of test case generation method 38-40 3.3 Summary 40-41 Chapter combination of two test data generation method 41-51 4.1 Introduction 41-42 4.2 based on improved AETG methods to generate test cases 42-47 4.2.1 improved AETG method proposed 42-45 4.2.2 Case Study 45-46 4.2.3 Performance Analysis 46-47 4.3 ant colony algorithm pairs coverage test data generation method 47-51 4.3.1 ant colony algorithm for solving cases set of optimization problems 47-49 4.3.2 Case Study 49-50 4.3.3 Summary 50-51 improved greedy algorithm optimization model based on regression testing use cases set 51-60 5.1 cases set optimized mathematical model 51-52 5.2 Optimization cases set for regression testing strategy 52 5.3 cases set optimized for improved greedy algorithm 52-56 5.4 Case Study 56-59 5.5 Summary 59-60 Conclusion 60-62 the References 62-67 studying for a master's degree obtained during the academic achievements 67-68 Acknowledgements 68

Related dissertations

  1. Research on Script-driven Based RBC Functional Testing Method
    TangHuiDong ·Beijing Jiaotong University ·2012 ·Master's thesis
  2. The Research and Application of Combinatorial Test Generation
    LiYu ·Jiangnan University ·2012 ·Master's thesis
  3. Research on the Impact of Human Resource Management on Employees Performance
  4. Study on the Optimization of the Land Use Stucture in Daqing City
    XieLiQing ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Research on Band Selection for Hyperspectral Imagery
    WeiFangJie ·Harbin Engineering University ·2013 ·Master's thesis
  6. Hybrid Genetic Algorithm and Their Applications
    YunWenXia ·Northwest Normal University ·2013 ·Master's thesis
  7. Optimization Analysis of Compact Storage and Retrieval System Picking Path Based on Ant Colony Algorithm
  8. Study on fresh agricultural products supply chain negotiation system based on Multi-Agent
    AiDan ·Yunnan University of Finance ·2013 ·Master's thesis
  9. Research and Application on the Hybrid Colony Algorithm
  10. A Research on Ant Colony Algorithm for Path Planning Problem
    TangYu ·Harbin Engineering University ·2013 ·Master's thesis
  11. Research on improved ant colony algorithm and its application
    ChengFei ·Jiangxi University of Technology ·2013 ·Master's thesis
  12. Research and Application of Customer Segmentation Based on Ant Colony Clustering Algorithm
  13. Application Research of Ant Colony Algorithm in Traveling Agent Problem
  14. Research on Autonomous Mobile Robot
  15. The Application of Ant Colony Algorithm in the Routing of Wireless Sensor Networks
    YuanXinLai ·Hunan University ·2012 ·Master's thesis
  16. Research on Path Planning of Aircraft and Its Application
  17. Robot Path Planning Based on Immune Ant Colony Algorithm
    YangHeJuan ·Shenyang University ·2013 ·Master's thesis
  18. Research on TSP problem based on ant colony algorithm
    SongZhiFei ·Jiangxi University of Technology ·2013 ·Master's thesis
  19. Optimization of Emergency Logistics Distribution Path Based on IACA
    WuXiangRu ·Hebei University of Engineering ·2013 ·Master's thesis
  20. Study on Resources Scheduling Based on ACO Algorithm and PSO Algorithm in Cloud Computing
    WenXiaoTang ·Jiangxi Normal University ·2013 ·Master's thesis