Research and Application of Test Case Prioritization Based on Regression Testing

Author
ZhongXiaoFang
Advisor
ZhangChunHai
School
Ocean University of China
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
54
Citations
0

Request the full text

Abstract

Software testing is an important part of the software development process, is an important means to ensure the quality of the software. Regression testing is a commonly used test methods, certain features of the software is changed or after the launch of the new version are the need for regression testing. However, due to the new version as soon as possible, the testers often do not have enough time and resources to carry out regression testing. Therefore, to improve the efficiency and effectiveness of the regression testing and reduce the cost of regression testing to become the focus of the study of software regression testing. In order to improve the efficiency of regression testing, testers need for unified management of test case library. Test case prioritization technique (Test Case Prioritization, TCP) can be provided in the case does not reduce the test cases scale, improving the performance of the set of test cases, such as code coverage, defect detection rate. Many domestic and foreign researchers launched a large number of studies around the test case prioritization problem, and has made some progress, but there are still some of the key issues to be solved. The lack of existing test case prioritization method dynamic, mainly testing requirements: With the conduct of the test, the testing requirements uncovered in changing uncovered thus calculated is also changing priority order efficient to meet the testing requirements, test cases sort should fluctuate significantly; addition, existing test case prioritization method can not fully grasp the costs and benefits of the test requirements and test cases. For these two areas, the paper proposes a priority of cost-benefit model based on changes in test requirements, and gives specific test case prioritization algorithm TCP_Req_CB_add In order to verify the efficiency of the algorithm, and also the introduction of a new measure of the priority method Standard MR_C_B. Firstly, based on test history information to calculate the test requirements and test cases priority, cost, revenue, and extract binary matrix test requirements and test cases; then set according to changing test needs, the priority of the dynamic adjustment of test cases level; last performed in descending order of priority in accordance with the test cases. The algorithms take into account the impact of factors is more comprehensive, and therefore more reasonable. Finally the method is applied to the electricity data analysis system, and combined with the new priority metrics to evaluate the sort results, to make a comparison with the previous algorithm, to prove the validity of the test case prioritization algorithm.

Table of contents

Abstract 5-6 Abstract 6-10 1 Introduction 10-16 1.1 Background 10-11 1.2 research status and lack of 11-14 1.2.1 software testing challenges facing 11-12 1.2.2 test case prioritization techniques research 12-13 1.2.3 research situation analysis 13-14 1.3 thesis research 14-15 1.4 paper tissue 15-16 2 related concepts outlined 16-24 2.1 regression testing Overview 16-19 the 2.1.1 regression testing process 16-17 2.1.2 regression testing 17-18 2.1.3 software testing and regression testing comparing 18-19 2.2 testing requirements outlined 19-23 2.2.1 Analysis test needs 20 the considerations 2.2.2 testing requirements 20-21 2.2.3 testing needs priority 21-22 2.2.4 testing requirements coverage and coverage 22-23 2.2.5 testing requirements analysis and demand analysis of the difference between 23 2.3 This chapter Summary 23-24 test case prioritization technology 24-35 3.1 test cases outlined 24-26 3.2 test case prioritization (TCP) technology concept 26 3.3 typical test case prioritization technology introduced 26-29 3.3.1 to perform data-based technology 27 3.3.2 based on historical information technologies 27-28 3.3.3 test demand technology 28 3.3.4 metric-based technology 28-29 3.4 test cases Sort target 29 3.5 test case prioritization technology metrics 29-31 3.5.1 APFD (Average Percentage of Fault Detected) standard 29-30 3.5.2 APFD ~ C (Average Percentage of Fault Detected per Cost) Standard 30-31 3.6 test cases sorting algorithm 31-34 3.7 This chapter Summary 34-35 4 priority cost-benefit model based on changes in testing requirements 35-46 4.1 Related Research 35 4.2 priority cost-benefit model based on changes in testing requirements 35-44 4.2.1 testing historical overview 35-37 4.2.2 based on testing requirements set priority 37-38 4.2.3 cost-benefit model of influencing factors 38-41 4.2.4 Cost Benefit model 41-44 4.3 based on the total demand for cost-benefit test model 44-45 4.4 This chapter Summary 45-46 5 based on cost-benefit model for changes in testing requirements, test case prioritization technology 46-53 5.1 Related Research 46 5.2 test case prioritization based on cost-benefit model for changes in testing requirements 46-48 5.2.1 Description 47 5.2.2 problem solving 47-48 5.3 TCP_Req_CB_add algorithm 48-51 5.3.1 algorithm to achieve 48-50 5.3.2 Algorithm Analysis 50-51 5.4 metric standard 51-52 5.5 This chapter Summary 52-53 6 application examples as well as validation 53-61 6.1 instance application 53-59 6.1.1 task analysis 53-54 the 6.1.2 data preparation and calculation 54-59 6.2 use metrics to verify 59-60 6.3 This chapter Summary 60-61 7 Conclusion 61-63 7.1 Full Summary 61 7.2 Future work and outlook 61-63 the References 63-66 Acknowledgements 66-67 the biographical 67-68 the graduate during the academic 68

Related dissertations

  1. Study on Test Case Optimization Techniques Based on Genetic Algorithms
  2. Research on the Spectrum-based Fault Localization for Software Systems
    GongLiang ·Tsinghua University ·2013 ·Master's thesis
  3. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  4. Study on the Appropriate Scale of China’s Foreign Exchange Reserve
    ZhaoZuoYi ·Jiangnan University ·2012 ·Master's thesis
  5. Supply Chain Finance Products and Cost-benefit Analysis
  6. Study on the housing security system for migrant workers in Yiwu city as an example
    YeWenBin ·Zhejiang University of Technology ·2011 ·Master's thesis
  7. Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
    SongJianSheng ·Jiangnan University ·2012 ·Master's thesis
  8. Multi-objective Test Case Optimization Method and Its Accelerate Research on GPU
  9. The Design and Implementation of Test Suit Augmentation Based on Predicate Adaptive Random Testing
    YangZhongJun ·Nanjing University ·2012 ·Master's thesis
  10. Research and Implementation for Method of Component Regression Testing
  11. The Improvement and Implementation of Test Case Prioritization in Regression Testing
    Wu ·Nanjing University ·2012 ·Master's thesis
  12. Research on UML Activity Diagram-based Software Automatic Regression Test Case Generation
    YeZuo ·Nanjing University ·2012 ·Master's thesis
  13. The Study of Test Case Secletion Algorithm Based on Requirement Priority in Regression Testing
    WangDaWei ·Zhejiang University of Technology ·2012 ·Master's thesis
  14. Implementation of an Automated Testing Tool Based on Java
    WangChong ·Donghua University ·2013 ·Master's thesis
  15. The Research and Implementation of Automated Testing System on Power System Real Time Database
  16. The Research of Regression Testing for Software Equipment
  17. Based on the QTP WEB Program Testingsystem Development and Research
    WangXiaoLong ·Dalian Maritime University ·2012 ·Master's thesis
  18. Research on Repairing GUI-Directed Regression Test Scripts
    LiXiao ·Sun Yat-sen University ·2013 ·Master's thesis
  19. Research on Regression Testing Selection
    YouLiang ·Huazhong University of Science and Technology ·2012 ·Doctoral dissertation
  20. Design and Implementation of Android Operating System Software Test Automated