Research on Test Case Generation Technology of Combinatorial Testing

Author
ZouMing
Advisor
ZengYi
School
Chongqing University
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2012
Downloads
53
Citations
0

Request the full text

Abstract

Software testing running throughout the entire software development life cycle isan important method to ensure software quality. During the testing process, exhaustivetesting is impossible, but we hope to achieve the completeness of testing withoutredundancy during testing. Although equivalence partitioning, boundary value analysisand other methods manage to reduce the number of test cases, it will still generate a lotof test cases in large or complex system. Therefore, according to testing requirements, itis the key for successful testing to develop a reasonable test strategy and create anappropriate scale test case set.The combinatorial testing has the ability to ensure the rate of detecting failurestriggered by the interaction of certain factors via fewer test cases. Research shows thatthe combinatorial testing has gained significant interest in recent years both in researchand practice, but there are still some issues need to be resolved. Such as, the problem ofgenerating a minimum test sets for combinatorial testing is NP-complete, currentmethods need to be improved; the complexity of practical system causes the invalidityof the traditional method. This thesis conducts the study with the aim of improving theefficiency and applicability of the test case generation method for the combinatorialtesting.First of all, this paper introduces the study situation on combinatorial testing andanalyses、contrasts and summarizes the current method. The method based on one test ata time strategy or in parameter order strategy always generates near-minimum test caseset which can be improved. This paper proposes a test case generation strategy: one pairat a time. It creates test case set by the unit of pair. Under the guidance of the strategy, acontribution based method to generate test case for combinatorial testing is proposedhere. It firstly creates a set of ordered pair, based on which an initial test case set isgenerated, and finally reduces the number of test case set. The experimental resultshows that the method is simple and effective, and it has the characteristic of fewer testcases. It also can be extend to handle N-way testing and testing with seeds.Secondly, considering interdependence and constraints are exist among parametersof the system input model in some practical project, this paper has analyzed the impactof constrains on test case generation and proposed a method to create test case set withconstrains. It firstly extracts the implied constraints from the system constrains set, and then creates the test case set by modified horizontal expansion and vertical expansionmethod. The results show that the constraints can be effectively handled. Compared totraditional IPO method, it can reduce the steps and be more efficient.Finally, on the basis of the approach mentioned above, this dissertation designs acombinatorial testing framework and implements it by a prototyping tool. It cangenerate fewer test cases automatically and be able to handle constrains in practicalsystem.

Table of contents

Summary 3-5 ABSTRACT 5-9 1 Introduction 9-15 1.1 Background and Significance 9-10 1.2 domestic and foreign research status 10-12 1.3 purpose and content organization nbsp 12-13 1.4 herein ; 13-15 <br / > 2 software testing and test combinations Overview 15-27 2.1 software testing 15-17 2.1.1 software testing concepts 15 2.1. 2 software testing principles 15-16 2.1.3 software testing model 16-17 2.2 test case design 17 2.2.1 test Case design principles 17 2.2.2 test case design 17 2.3 combinatorial testing 17-21 2.3.1 software testing combinatorial problems 17-20 2.3.2 combination test definition 20-21 2.4 combinatorial test design method 21-26 2.4.1 method nbsp mathematical structure ; 21-22 2.4.2 greedy algorithm 22-25 2.4.3 metaheuristic 25-26 2.5 Summary 26-27 3 test algorithm based on a combination of the contribution of 27-47 3.1 combinatorial test generation strategy 27-29 3.2 one pair at a time strategy 29-33 3.3 algorithm based on the contribution of 33-42 3.3.1 pairwise combinations of test case generation 33-37 3.3. 2 combinations of two test experimental analysis 37-38 3.3.3 improved IPO algorithm 38-42 3.3.4 improved IPO experimental analysis algorithm 42 3.4 algorithm extended 42-45 3.5 test suite minimalist 45-46 3.6 Summary 46-47 4 with constraints combination test 47-59 4.1 constraint definitions 47-49 4.2 constraint processing strategy 49-52 4.2.1 test case generation ago 49-52 4.2.2 test case generation 52 4.2.3 test case generation 52 4.3 contains constraints 52 -55 4.3.1 contains a set of use cases generated constraints affect 53 4.3.2 contains a constraint acquisition method 53-55 4.4 in combination with constraints test case generation method 55-58 4.4.1 non-mandatory restraint use cases generate 55-56 4.4.2 mandatory restraint use cases generate 56-58 4.5 experimental Analysis 58 4.6 Summary 58-59 5 combinatorial testing framework and experimental 59-67 5.1 testing framework 59 5.2 testing framework to achieve 59-60 5.3 experimental verification 60-66 5.4 Summary 66-67 6 Summary and Next Steps 67-69 6.1 summarizes 67 6.2 The next step 67-69 Thanks 69 - 71 References 71-75 Appendix 75 A. the authors of papers published during the degree program directory 75

Related dissertations

  1. Research on Combinatorial Testing Technique and Its Application
    ChenXiang ·Nanjing University ·2011 ·Doctoral dissertation
  2. Research on Software Test Module of Lead-free Solder Paste Printed Equipment
  3. Research on Test Data Automatic Generation
    ShiLiang ·Southeast University ·2006 ·Doctoral dissertation
  4. Research on Key Technologies for Concurrent Programs Testing
    ZuoFang ·Huazhong University of Science and Technology ·2009 ·Doctoral dissertation
  5. Efficient Generation for Test Data and Test Methods of Software
    WangLiXin ·Donghua University ·2011 ·Doctoral dissertation
  6. The Research of Cao Cao’s Official Documents Characteristics
  7. Research of Capital Contrubition to Chongqing’s Economic Growth
  8. An empirical study of Chongqing tourism industry development and economic growth
  9. The Research of the Yellow River Magazine
    ZhangYuanNa ·Shanxi Normal University ·2014 ·Master's thesis
  10. The Research of Journalistic Thoughts on Quqiubai
    LiangXue ·Xiangtan University ·2013 ·Master's thesis
  11. And the realization of software testing reuse management subsystem design
  12. Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
    XiongLiPing ·Hunan University ·2013 ·Master's thesis
  13. Research on software testing technology based on complex network theory
  14. Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
    FuLiYu ·Shanghai Jiaotong University ·2013 ·Master's thesis
  15. The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
    YaoZuo ·Harbin University of Commerce ·2013 ·Master's thesis
  16. Research of Software Testing Method Based on Cloud Computing
  17. Research on Path-oriented Test Data Generation
    WangShiTao ·Hunan University ·2013 ·Master's thesis
  18. Research on Process Improvement in Y Co. Based on CMM
    FengFei ·China Academy of Railway Sciences ·2013 ·Master's thesis
  19. Method Research and System Development of Software Automatic Testing
    LiangYueYuan ·Chang'an University ·2013 ·Master's thesis
  20. Research and implementation of TaaS test management services
    YangDan ·Northwestern University ·2013 ·Master's thesis