Font Size: a A A

A Study And Implementation Of The Software Automated Test System Based On The Daily Build

Posted on:2015-10-26Degree:MasterType:Thesis
Country:ChinaCandidate:L Y SunFull Text:PDF
GTID:2308330464966688Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
Software testing is an important safeguard of software quality and also a key link in software development chain. Due to huge promotion of software applications, the complexity of software design gets higher and higher. Therefore, more test teams apply automated test technology to their software testing, especially the increasing application of the Daily Build theory.The automated test system is to be set up based on the research of Daily Build theory in this thesis. This system is used to fully embody the advantages of the Daily Build concept, implement an automated build and test per day, and run in the evening to save time and solve the contradiction between the testing system and the resource shortages.The research work of this thesis includes:First, the history and current situation of the development of software testing and automated test are summarized and the basic process of software testing and the advantages and disadvantages of the automated test are analyzed in this thesis. Then, a thorough analysis and research on relations and distinctions between two concepts (Daily Build and Continuous Integration) are made, with the result that Daily Build is a better practice point compared with Continuous Integration. So we design a software automation test system with the application of Daily Build theory.Second, based on the analysis of the theory of the system, the physical deployment and the hardware and software configuration of ADBS system are designed. In addition, during the testing process, testing interruption often occurs, causing that there is no response when we Ping the test terminal. The automated test is conducted in the evening, if the case above occurs, it can not be restarted artificially. As a result, the rest cases can not have chance to run, reducing the testing efficiency. To solve this problem, we set up a control machine. It will control the power of the terminal connected to a relay through sending switch signals to the relay to force the terminal to restart. This method can save a lot of testing time, make full use of resources and improve the testing efficiency greatly.Finally, the realization process of ADBS system is introduced in detail in this thesis. The realization process of the automated test is that a Web server obtains all the configuration information of the test package and is combined with other servers to realize all testing steps by running the Perl script. The steps include test package compiling, loading, testing, analysis of test results and sending mails. Then the test cases like Fail, Hang and their reasons are listed on the graphical user interface, and detailed test information are recorded in the form of links.The ADBS automated test system in this thesis is able to build and test automatically in the evening. At the same time, it can summarize and analyze the results of test to find the defects in the code that the staff submitted in time, reducing the uncertainty. The implementation of this system provides effective interface for the development and integration test and make the developers and testers communicate better to solve the defects timely.Although implementation of ADBS test system can well realize automated testing well, there are still some problems needed to be improved. Such as, improving the statistical method of test cases in the automated test system to distinguish if the case can be repeated many times. Improving the sense of beauty of the user graphical interface to make it more humanized, more convenient to use and so on. Therefore, more efforts have to be done in the future.
Keywords/Search Tags:Software Automated Testing, Daily Build, Server, Perl
PDF Full Text Request
Related items