Font Size: a A A

Design And Implementation Of Test Case Optimization Tool For Large-scale Software System

Posted on:2022-08-02Degree:MasterType:Thesis
Country:ChinaCandidate:X S GuFull Text:PDF
GTID:2518306725984039Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of the information industry,the scale of software systems in industry has gradually increased.The software development process has evolved from traditional development to agile development,then Dev Ops,which has led to two phenomena in the testing process: on the one hand,the increase in product size results in a larger set of test cases,new tests will be added in each iteration but the chance of removing test cases is small.Therefore,the test process takes longer and longer,on the other hand,the frequence of software development increment continues to increase,and accordingly,the frequency of regression testing also increases.Therefore,the timeconsuming and excessive resource taken testing process has become more prominent,and the regression testing process has gradually become the main bottleneck against short the delivery cycle.The case enterprise currently does not apply an effective method to optimize the testing process.Based on the test case priority optimization technology,this thesis aims to tackle the problem of low efficiency and accuracy of regression testing of the enterprise's large software system.In order to implement the test optimization technology and improve the efficiency of the test engineer's and developer's jobs,This thesis analyzes the essential requirements of enterprise test engineers,and combines the requirements and expectations of the regression test process in the incremental development process,and designs a test case optimization tool for large-scale software systems.The tool is divided into three modules: white-box test optimization module,black-box test optimization module,and test execution module.For white-box testing,two priority optimization techniques for test cases based on coverage are implemented;for black-box testing,the integrated learning method is applied to the priority optimization technology of test cases based on historical information,for the test execution module,the functions of automatically generating test scripts and downloading test scripts are realized.Based on the research results of the existing test case priority optimization technology,this thesis innovatively tackles the difficulties and challenges by applying priority optimization technology to the enterprise regression testing process,such as establishing test cases and code defects based on project construction information.The relationship between them,the improvement of the existing test case priority optimization technology according to the real scenario,etc.These innovations enable software companies to apply test case optimization techniques to the integration process under limited resource conditions.The research done in this thesis has been validated in an industrial environment,and the data used is from real project's historical data.And the tools implemented in this thesis have been deployed and applied to the testing of the case enterprise's pipeline.
Keywords/Search Tags:Test Optimization, Test Case Prioritization, Test Tools, White-box Test, Black-box Test
PDF Full Text Request
Related items