Font Size: a A A

Design And Implementation Of Automatic Regression Testing Tool Based On SVN

Posted on:2017-09-06Degree:MasterType:Thesis
Country:ChinaCandidate:R ShiFull Text:PDF
GTID:2348330509454181Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
With the development of software industry, the competition between enterprises is becoming more and more fierce, and the quality of software products is particularly important if an enterprise wants to survive even to develop. Up to now, many foreign research institutions and companies have developed a lot of excellent software testing tools to further enhance the quality of software, but they are relatively expensive to domestic small and medium-sized enterprises. Meanwhile, domestic research in software testing tool is not mature enough, and researches are mainly focused on the automatic execution and reduction technology of test cases. As for modification influence domain analysis and test cases allocation process in regression testing, more testers are required, which makes the efficiency of regression testing limited. To solve these problems and meet the needs of the project, an automatic regression testing tool is developed to make modification influence domain analysis, test cases allocation and test results analysis automation.In the thesis, the software testing tools at home and abroad are introduced in detail firstly. Then the theory of software testing, regression testing, automatic testing and SVN are studied and analyzed. Based on the outstanding performance in the source code management of SVN, especially in achieving version rollback and viewing the version history information, a new design method of regression testing is proposed. The design method is that SVN is used to get modified differences information, and then test cases are distributed according to the mapping relation bewteen codes and test cases, and code-coverage results of test cases are analyzed after test cases executed and passed to decide whether regression test can be finished. The design method can not only improve the working efficiency and avoid the subjectivity of the testers,but also bring in code coverage rate to guarantee all codes can be tested. Finally, according to the design method of regression testing based on SVN, automatic software regression testing tool which consists of modification influence domain analysis module, test cases allocation module and test results analysis module is deveopeded to achieve regression testing process automation.The test results of the automatic regression testing tool indicate that the tool can meet the design requirements, and it has a good effect on applying to regression testing process.The tool can not only ensure the comprehensiveness of regression testing, but also improve the efficiency of regression testing. It saves a lot of resources, so the testers can put main energy into the analysis of the uncovered function in regression testing process and maintenance of test case library.
Keywords/Search Tags:software testing, regression testing, automatic testing, SVN, code coverage
PDF Full Text Request
Related items