Font Size: a A A

Design And Implementation Of Automatic Test Case Generation Tool Based On Orthogonal Arrays

Posted on:2021-10-06Degree:MasterType:Thesis
Country:ChinaCandidate:D ZhangFull Text:PDF
GTID:2518306308970799Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of Internet technology,various software products have been developed.Software testing is the key to ensuring the quality of software,which usually occupies a lot of overhead.So how to allocate limited testing resources and achieve the best test results is very important.Test cases guide the testing work.During the test case design,covering all combinations of test points may cause a combinatorial explosion problem,a large number of test cases will increase the cost of testing and affect the efficiency of testing.This paper generates test cases based on the idea of orthogonal experiment design,which can scientifically simplify test cases with high-quality data and achieving high test coverage.Firstly,this paper analyzes the related concepts and characteristics of orthogonal experiment design,and expounds its applicability in designing test cases.Then paper proposes a series of test case generation methods based on orthogonal arrays,including orthogonal table matching strategies,algorithms for mapping test cases and evaluation-selection models for test case sets.Virtual level method,modified two-level orthogonal array method and combined factor method are designed to match orthogonal arrays and generate test cases for complex factor-level data,then select the most appropriate test case set according to the evaluation-selection model.The main evaluation basis of the evaluation-selection model is the number of test cases and the coverage of the test points.The test case sets with a small gap in the number of test cases are comprehensively evaluated and analyzed from the five dimensions of level coverage,priority of the method,level uniformity,average weight,and test case reduction rate.Experimental results show that the test case generation methods implemented in this paper can effectively reduce the number of test cases,reduce test costs,and can generate test cases flexibly and efficiently.In this paper,a test case generation tool of Browser/Server architecture is designed and implemented by using the above research results.This tool analyzes the factor-level information in the user-entered data,then matches the orthogonal arrays and generates test cases based on the factor-level information.
Keywords/Search Tags:Software testing, Test case generation, Orthogonal arrays, Factor and level, Test case reduction
PDF Full Text Request
Related items