Research on Test Suite Reduction and Construction

Author
PanLiLi
Advisor
ZouBeiZuo , ZuoJiShun
School
Hunan University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Doctoral dissertation
Year
2009
Downloads
348
Citations
0

Request the full text

Abstract

Software testing is a necessary part of the software life cycle, its purpose is the discovery of errors in the software as soon as possible to ensure software quality. The test case is the basis for software testing, a high coverage streamlined set of test cases to help reduce the cost of testing and improve test efficiency. This paper mainly around the test suite simplify its construction to commence a study, the main contents include the following aspects: (1) proposed a modified condition / decision coverage standard bi-objective optimization simplified algorithm of the test suite. Modified condition / decision coverage standard is a more complex and effective test coverage criteria, it is able to detect very subtle program errors. Existing test suite simplified algorithm is the main consideration is the coverage of the test cases, while ignoring the error detection capability of test cases. Bi-objective optimization test suite simplified algorithm starting with two aspects of coverage and error detection capabilities considering the value of the test cases, to construct a bi-objective optimization model evaluation test cases; Then, according to the modified condition / decision coverage of standard features, double objective optimization model in the gradual elimination of redundant test cases to simplify the test suite. (2) taking into account the quality of the evaluation test cases can have multiple different indicators, based on the bi-objective optimization model, a multi-objective optimization test suite simplified algorithm. First set of test cases are divided into two subsets: the necessary test case sets and redundant test cases subset. The necessary test cases for the collection set is to simplify the part of the test suite. Then, according to the testing requirements, select the test case evaluation, multi-objective optimization model to construct a test case as a test case decision-making objectives; redundant test cases subset of the application of the model, you can get a satisfactory solution of the test cases sub- set; using the test suite minimization method to minimize the subset, local minimum test case subset. This process is repeated until the local minimum test case subset identified and the necessary test cases a subset of the complete coverage of the test set of requirements. Compared with the traditional algorithm, the algorithm can not only reduction test suite, and better ensure a simplified set of test cases test. (3) is proposed based on key infeasible branches of infeasible path to determine the method. Infeasible paths in a program to increase the program complexity and redundancy, generate invalid value - a reference to a chain and useless test cases. Depth analysis of the the infeasible path causes of infeasible path on the different causes employ different strategies to find the key infeasible path is not feasible branch. Value depends lead to infeasible path, static single information form to identify key infeasible branches; predicates contain lead infeasible path, the application of the compilation phase information to determine the key is not feasible branch. And then, through the binary search algorithm search path contains the key is not feasible branch to determine the feasible path. Simulation results show that: Compared with other methods, the key is not feasible branch method to quickly and effectively determine feasible path. (4) Based on the analysis of infeasible path, is proposed based on the setting - a reference the chain test requirements set optimized set of test cases simplified method. First, consider the program infeasible path due to invalid value - reference chain optimization setting - reference chain data flow equations. Then, based on improved data flow equations for the effective value - a reference to determine the chain, a more streamlined setting - reference chain test set of requirements. Finally, based on the optimized settings - the reference the chain test set of requirements, to simplify the setting - reference chain test suite. Simulation results show that: the method to optimize the setting - a reference the chain test requirements set under the premise of no increase in the cost of any test reference - reference chain test coverage, more effectively simplify the test suite. (5) for interactive software with frequent human-computer interaction, and the complexity of the interface state proposed a functional components of the test case generation method. The method uses a black-box testing techniques. First user test software process is divided into independent significance of the function, the use of formal methods to define the functional components; Then, extract the appropriate operational processes, eliminate redundant processes, packaging functional components; Then, equivalence partitioning method, boundary analysis, the planting and error and causal diagram method to generate test data, generate test cases; Finally, test coverage criteria, build a test suite. Experimental results show that the reusable functional components of the test case generation method to improve the efficiency of the test case generation, building a set of test cases can effectively find errors in the program. (6) In the above based on the study, designed and implemented an interactive software test case generation and playback testing tools CADTesing. CADTesing is a platform-independent test tools, the use of black-box testing technology. Based on the functional components of the test case generation method, CADTesing learning the operation of the software testing process, changing the process parameters, generate test cases and use case-driven test software running playback, real-time monitoring of the operating state, automatically generate test reports. CADTesing has been applied to clear soft Intentia TiGems software, Beihang Haier CAXA software and Zhejiang University days GS-CAD software testing and improve testing efficiency.

Related dissertations

  1. Research and Application on Mobile Entertainment Device Software Testing Technologies
    WangLei ·Anhui University ·2013 ·Master's thesis
  2. Function Test in Call Arrival Module of Call Center System
  3. Research on Automatic Generation of Test Case Based on Model
    ZhangMiao ·Jilin University ·2013 ·Master's thesis
  4. Design and Implementation Mobile Software Testing in the Scrum Mode of the Multi-cultural
  5. The Research of Test-suite Reduction Technology Based on Improved Ant Colony Algorithm
    ZhangRui ·South China University of Technology ·2012 ·Master's thesis
  6. Study of Component-Based Software Testing and Supporting Tool
    ZhenWenPing ·Hebei University ·2003 ·Master's thesis
  7. English Title of Master Dissertation
    PanZuo ·Southeast University ·2006 ·Master's thesis
  8. And the realization of software testing reuse management subsystem design
  9. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  10. Research on software testing technology based on complex network theory
  11. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  12. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  13. Research of Software Testing Method Based on Cloud Computing
  14. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  15. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  16. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  17. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis
  18. The Design and Implementation of Banking Software Testing Based on Bugfree
  19. Automatic Generation of Test Data Based on Heuristic Search Algorithm
    LiuJia ·Tianjin University ·2012 ·Master's thesis
  20. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation