Font Size: a A A

Research On And Implementation Of One Software Automatically Testing Tool

Posted on:2016-11-10Degree:MasterType:Thesis
Country:ChinaCandidate:S B WangFull Text:PDF
GTID:2348330488474509Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the rapidly development of science &technology and electronic computer, software has become more and more commonly used in every domain,which makes an increasing of software in scale, application area and difference demands of customers. For example, there are about 40 million lines of code in Windows XP operating system, which makes errors more likely to occur at any moment. As an integral part of software engineering, software testing plays an important role in ensuring the accuracy, completeness, security and quality of software production. Numerous disasters caused by software defects each year, slight problems like browser crashes, while seriously problems like data losing or system crashes in national defense, financial department, aerospace and other important areas may cause irreparable loss. Therefore, completely and adequately testing should be done to ensure reliable quality of software production. As we all know, the quality of test cases determines that of testing completeness, the traditional testing methods that based on manually testing are effective in specific programs, while with the increasingly growth of software in scale and complexity, these methods are unsuitable for modern large-scale software testing,and the more efficient automated testing tools are becoming the focus of major company. As the design of test cases sat at the top of automated testing area, so the automated generation of test cases has been always attracting people's attention. In this paper, the main research content includes the following five aspects:Take a further study of the concept, the goals and the principles of software testing, especially that of the existing testing techniques and methods; then, take a good study of the most commonly used scripting technologies, especially that of the Python programing language and XML technology; thirdly, take a further study of the concept, application area, testing framework, design and implementation of test scripts, then analyzed the working principles, advantages and shortcomings of the most commonly used automated testing tools in different testing environment, especially analyzed the test case generation of these tools; furthermore, the necessity and importance of software testing are summarized.Take a further study of commonly used test cases automatic generating algorithms; and then studied the advantages and disadvantages of random algorithm and genetic algorithm in terms of test case generation; finally, the default modified test case generating algorithms that used in specific testing scenes are proposed in this paper.A system model of software testing was given in this paper, which is divided into three main modules: the source code scanning and preprocessing module, the test case generating module and the test report generating module; finally, the whole functional process of the designed automated testing tools were analyzed in this paper.Based on the system model given above, functional implementation of each module was made and detailed process of algorithm was described in the following chapter; in addition, dependencies between the three modules were introduces.Finally, set up the test environment and choose the traditional triangle shape judgment source code and one piece of source code from the project as the testing object, then test it with the designed automated software testing tool, results were collected and analyzed at last in this paper.
Keywords/Search Tags:software testing, testing tools, automatic testing, automated test data generating
PDF Full Text Request
Related items