Test Suite Reduction Technique Research

Author
ChengXiaoJu
Advisor
LiRenFa
School
Hunan University
Major
Computer Science and Technology
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2011
Downloads
20
Citations
0

Request the full text

Abstract

In process of software development, the efficiency of regression testing is the most important factor which determines the success of the whole project, high regression test efficiency leads to the in-time delivery of the software with high qualities. Testers usually try to improve the regression test efficiency by only re-test a test-case subset of the whole regression test cases because they think there will be such a test-case subset which has the same effect with the old pre-selected test cases. For each iterating of the development, it’s quite expensive to re-test the whole system just because of the minor change of the source code, how to select the necessary test cases affected by the minor change of source code is a hot and difficult topic in the software regression test field.Existing techniques for the test suite reduction problems can be divided into non-demand-driven and demand-driven approach. The ideas of test suite reduction based on function slice are proposed in this paper trying to get the just necessary test cases for regression test after the source code has changed by the following two steps:First, concepts of function slice and function influence domain are proposed in this paper in order to get a rough test-case subset of the pre-selected test cases, proposed the concept of function influence domain. By comparing the old version of the source codes with the changed one, we can get the function relationship of the whole embedded system and the functions altered. We mark the changed functions as criteria functions in this paper. From the criteria functions, travel the function dependence graph to get the criteria slice graph and the node dependence graph, with which we can use to eliminate the unnecessary test cases from the ultimate test-case subset.Then, new algorithm named based combination relationship is suggested in this paper to reduce the rough test-case subset get in the first step because there are still some repeated and over-lapped test cases within the criteria function affection domain, trying to get the most reduced software regression final test cases.Finally, this paper use the idea of function slice to carry on regression test suite reduction experiment on embedded software system-ATM simulator. The result shows high efficiency when test with the final set of regression test suite get by the first two steps, it improves the efficiency of regression test of software regression test and reduces testing time and cost.

Table of contents

Summary 5-6 Abstract 6-10 drawings index 10-11 Schedule Index 11-12 <br / > Chapter 1 Introduction 12-16 1.1 background and Significance 1.2 Status domestic and foreign research 12 12-14 1.2.1 non- demand-driven approach 13 1.2.2 demand-driven approach 13-14 1.3 research content 14-15 1.4 This article work 15 1.5 thesis structure 15-16 Chapter 2, the theoretical foundation 16-24 2.1 embedded software testing 16 -18 2.2 program slicing method 18-20 2.2.1 program slicing concept 18-19 2.2.2 program slicing classification 19 - 20 2.3 test suite reduction method 20-23 2.4 Summary 23-24 Chapter 3 slices of function -based test suite reduction algorithm 24-35 3.1 program Slicing 24-28 3.1.1 program dependence graph 24-25 3.1.2 slicing theory and algorithms 25-28 3.2 function slice 28-32 3.2.1 Functional Dependencies and function dependency graph 28 3.2.2 functions influence domain 28 -30 3.2.3 function dependency graph concept and function slice slicing algorithm 30-31 3.2.4 conceptual dependency graph nodes and node dependency graph algorithm 31-32 <br / > 3.3 regression test select 32-34 3.3.1 reduction Based on the principle of function slice 32-33 3.3.2 regression test selection step 33 3.3.3 algorithm Analysis 33-34 3.4 Summary 34-35 Chapter 4, based on the requirements and needs of the blank cover collection sets reduction algorithm 35-46 4.1 test suite reduction algorithm tradition 35-39 4.1.1 basic definitions and terminology 35-36 4.1. 2 greedy algorithm 36-38 4.1.3 GRE algorithm 38-39 4.2 relations based on a combination of test suite reduction algorithm 39-43 <br / > 4.2.1 Basic definitions and terminology 39-40 4.2.2 The core idea of ??the algorithm and the basic steps 40-43 4.3 results and evaluation 43 - 45 4.4 Summary 45-46 Chapter 5 prototype system design and function slicer achieve 46-55 5.1 system QuickRetest Overview 46 - 47 5.2 QuickRetest detailed design 47-49 5.2.1 structure analyzer 47-48 5.2.2 function slicer 48 <br / > 5.2.3 test cases based on rough sets slice function generator 48-49 5.2.4 reduction based on a combination of relationship is 49 5.3 function slicer achieve 49-54 5.3.1 C language code analyzer and achieve 49-50 5.3.2 function slicing algorithm implementation 50-51 <br / > 5.3.3 experiment and Effect Analysis 51-54 5.4 Summary 54-55 conclusion 55-57 References 57-60 Thanks 60-61 published in Appendix a to pursue a degree during the academic 61-62 nbsp involved in research work in Appendix B to pursue a degree during the ; 62

Related dissertations

  1. And the realization of software testing reuse management subsystem design
  2. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  3. Research on software testing technology based on complex network theory
  4. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  5. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  6. Research of Software Testing Method Based on Cloud Computing
  7. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  8. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  9. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  10. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  11. The Design and Implementation of Banking Software Testing Based on Bugfree
  12. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  13. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  14. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation
  15. Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
  16. A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
    FengLuLu ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  17. Software Reliability Oriented Performance Test Model Research and Application
  18. The Study and Realization of the Android Tablet Stability Automated Test
    ZhouYing ·Central China Normal University ·2014 ·Master's thesis
  19. Research on Testing Technology of Video Codec
    ZhanHaiYan ·Central South University ·2013 ·Master's thesis
  20. High Precise Local Gravity Field Computing Platform Integrated Development and Test
    LiYuan ·Lanzhou Jiaotong University ·2013 ·Master's thesis