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. |