Design and Implemention of the Test Cases Generating Tool iCase Based on the Expansion of Pairwise Algorithm

Author
ChenYiBo
Advisor
YangJiaHong
School
Hunan Normal University
Major
Circuits and Systems
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
39
Citations
0

Request the full text

Abstract

As a vital part of the software development,Software testing is the core in the software cost,and also the key to improve software products’ quality,reliability and the cost control.The design and generation of test cases are the focus and the difficulty of software testing,and its aim is to design and to create effective test cases with the description of the software specifications.Pairwise testing has become an indispensable tool in a software tester’s toolbox.With extensive research of pairwise algorithm and the realization of its tools,software testing has been the general concern of the industry.Howerever,Pairwise algorithm still has many problems,for instance,how to deal with that factors which has the strength of the relationship,how to obey the factor binding between the values,how to avoid the abnormal interaction between the factors and how to expand the testing case base on the existing case and etc.Exactly under the background,this paper puts forward the Pairwise expanding algorithm and designs a testing cases generation tool-iCase. The significance of this paper is:First,the paper makes the in-depth research and analysis of the system of the strength of the relationship factor,the factor binding and abnormal factors.Based on the former Pairwise algorithm design,the in-depth set algorithm,factor bound algorithm,abnormal factor interaction avoid algorithm and succession scalable algorithm are realized and the whole four problems are solved.Second,based on the expansion of Pairwise algorithm,and the secondary development of VBA for Office Excel,testing case generation tool“iCase”is designed and implemented.It can solve the problem of write and maintain testing case effectively,and relief people from the multifarious handwork programme,which improves the efficiency of the cases’ preparation and maintenance and its wide use in the industry.

Table of contents

Abstract 3-4 English summary 4-8 1. Introduction 8-18 1.1 software testing technology overview and development at home and abroad 8-13 1.1.1 What is software testing 9-10 1.1.2 software testing principles 10-11 1.1.3 development in the world 11-13 1.2 Pairwise tool for comparative analysis and subject 13-17 the 1.2.1 AllPairs tool is analysis 13-14 1.2.2 ReduceArray tools to analyze 14-15 1.2.3 SmartDesgin tools to analyze 15-16 1.2.4 tools comparison analysis conclusions and topics 16-17 paper 1.3 organizational structure and main contents 17-18 2.PAIRWISE Test Technical Overview 18-24 2.1 Pairwise principle 18-19 2.2 Pairwise algorithm introduced 19-20 2.3 Pairwise effects compared with other engineering methods 20-21 2.3.1 Pairwise comparison and the effect of orthogonal analysis 20-21 2.3.2 Pairwise comparison with single-factor test design method 21 2.4 Pairwise related algorithm research problems in 21-23 2.5 Summary 23-24 3.PAIRWISE expansion algorithm 24-40 3.1 subset of depth algorithm principle and realization of 24-28 3.1.1 subset of the principle of depth algorithm 24-25 3.1.2 subset of the depth algorithm 25-28 3.2 factor constraint method principles and 28-31 3.2.1 factor constraint algorithm principle 28-29 3.2.2 factor constraint algorithm 29-31 3.3 outlier factor value of interactive avoid algorithm principle and 31-34 3.3.1 outlier factor value of interaction to avoid algorithm principle 31-32 3.3.2 outlier factor value interaction avoidance algorithm to achieve 32-34 3.4 the inheritable expansion algorithm principles and 34-38 3.4.1 inheritable expansion algorithm principle 34-36 3.4.2 the inheritable expansion algorithm 36-38 3.5 Summary 38-40 4.ICASE design and 40-62 4.1 iCase the design goals 40 4.2 iCase the overall function 40-41 4.3 iCase tool software architecture and tool flow analysis 41-43 4.4 iCase tool operating procedures 43-44 4.5 iCase main function of each module and processing method description is 44-57 4.5.1 Pairwise automatically generates use case function 44-48 4.5.2 Pairwise automatically generated outlier factor value of patients with functional 48-50 4.5.3 maintenance functions use case changes 50-56 4.5.4 Pairwise enhance accessibility 56-57 4.6 iCase use the example 57-59 4.7 Experimental data analysis 59-60 4.7.1 VSP new features of the pilot phase of data analysis 59-60 4.7.2 EPON old characteristics of the pilot phase of data analysis 60 4.8 Summary 60-62 5. Summary and Outlook 62-64 5.1 summarize 62-63 5.2 deficiencies and Prospects 63-64 References 64-68 Appendix of papers published during the master's degree 68-70 thank 70-71