Research of a Test Suite Reduction Method Based on Process Slicing

Author
WuJie
Advisor
DingXiaoMing
School
Southwestern University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2010
Downloads
99
Citations
0

Request the full text

Abstract

Software testing throughout the entire process of software development, software development process, the longest and most expensive stage. Software testing by running the corresponding test cases found an error in the software program, and thus for the development or maintenance personnel to provide the necessary basis for software maintenance, software testing stage need more discovery process in the error, software testing found error is valuable. With the constant expansion of the software version upgrades and software, the software testing process required size of the test suite is also expanding, operation and maintenance of these test cases set price, with the expansion of the scale will inevitably cases set with The increase in operation and maintenance costs. Concentrated in these use cases, however, there may be a large part of the redundant use cases, their presence on the software testing itself is meaningless, you can delete these redundant test cases to reduce the cost of software development that is focused on the existing test cases test to identify a subset of the source code, a subset of the test must meet the same test coverage and the original test suite. There are many ways to reduct set of test cases, including many heuristic algorithms: greedy algorithm, HGS algorithm, GRE algorithm, GE algorithm, experiments show that these methods can be effective reduction scale of the test suite. The degree of reduction of the size of the test suite will have a new problem, that is, with the removal of these redundant test cases, test suite reduction error detection capability will be weakened, and weakened with the reduction in scale increases increased. How to ensure the reduction test suite error detection capability based on the original test suite reduction is the main content of this paper. Based on the analysis, summarize on the basis of the results of the scholars before the introduction of the idea of ??program slicing, find the program may cause errors, but the general test cases to detect unreliable test results statement node as the key to the program points, from a critical point, according to this article constructed slice dependency graph these slices, which analyzed to make these key points the error variable range of input values, and use these ranges as choose to retain redundant test cases thought a test adequacy criteria used to select the part of the redundant use cases, in order to make the test suite reduction error detection capability is maintained at a certain level above. Finally, the simulation experiments to validate this method is effective and can achieve both reduction of test cases to set and maintain the scale reduction requirements of the use case set of error detection capabilities. This paper completed the following aspects: 1. Definition of a program critical point arithmetic class program gives the classification of the key points. 2 presents a new dependence graph construction method for program slicing. Program key points slice analysis makes them wrong variable input value range, and this range as a test suite reduction coverage criteria. With this study content improvements choose to retain redundant test cases thought and formalized as algorithms. Design and realization of two simulation, first used to verify the correctness of the slice dependency graph paper constructs will not affect the program slicing, and the other is used to validate the method for the type of research program, while maintaining approximately Jane later cases set of error detection capabilities above, to achieve the purpose of the use case set of error detection capabilities both reduction of test cases to set and maintain the scale reduction.

Related dissertations

  1. Aresearchbased on UML Diagrams and Dynamic Slicing of Regression Testing
    SongJianSheng ·Jiangnan University ·2012 ·Master's thesis
  2. The Research of Test-suite Reduction Technology Based on Improved Ant Colony Algorithm
    ZhangRui ·South China University of Technology ·2012 ·Master's thesis
  3. Program Slicing Techniques and Its Application in Object-Oriented Software Metrics and Software Test
    LiBiXin ·Nanjing University ·2000 ·Doctoral dissertation
  4. Automatic path-oriented test data generation method
  5. Research on Test Suite Reduction and Construction
    PanLiLi ·Hunan University ·2009 ·Doctoral dissertation
  6. The Research on Software Testing Based on Program Slicing
    WangLei ·Hebei University of Technology ·2007 ·Master's thesis
  7. And the realization of software testing reuse management subsystem design
  8. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  9. Research on software testing technology based on complex network theory
  10. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  11. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  12. Research of Software Testing Method Based on Cloud Computing
  13. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  14. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  15. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  16. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  17. The Design and Implementation of Banking Software Testing Based on Bugfree
  18. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  19. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  20. Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
    ZhangYan ·China University of Mining and Technology ·2012 ·Doctoral dissertation