Font Size: a A A

Design And Implementation Of An Automated Testing Framework For Embedded Software Based On The Http Server

Posted on:2015-02-08Degree:MasterType:Thesis
Country:ChinaCandidate:T WeiFull Text:PDF
GTID:2298330434450240Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Automated testing platform can track test progress and results with integrated test environment. It uses software automatically executed instead of manual operation to improve test efficiency and save the test cost, timely feedback the test results to drive the developers to improve related issues, then to improve system stability and software quality. So, establishment of automated testing platform has been a hot topic in the field of embedded software testing.The software testing in the R&D department of U.S. Polycom Communication Technology (Beijing) Ltd. is still in manual testing and unit testing phase. This test method is inefficient and need testers to manually write the reports, which is subjective and complex. This paper is to build software testing automation framework based on HTTP server, which is selected from the actual demand of embedded platform department of this company.According to research and summary the software testing technology, analyze the various systems Linux kernel functions and framework, this paper uses Host&Target testing strategy to build this automated testing framework. By setting up the test scripts package with the tool command language on the host machine, it can send and receive the test data. By remaking the http server on the target machine, it can use the HTTP protocol command instead of less security Telnet protocol to receive test data, and can compile the dynamic shared library to invoke the underlying APIs(Application Programming Interface). By compiling the Java-Proxy handler functions, it can be taken as the intermediary to connect the underlying embedded platforms and testing machine. By setting up the html script, it can generate email reports and sent them to the relevant persons through a feedback loop, in order to help the developers to know the problems and bugs of the software.The embedded automated testing framework can share the test resources and test automatically at any time and any place. The practical test shows that:the average regression testing time is shortened about3hours, and the error finding rate has increased about9%, and test script reuse rate has been about92%, which greatly improves the efficiency of software testing and shorten the software development cycle. The http server module and the Java proxy module are high portability, which suit for different embedded platforms. Test report by mail system automatically sent to the relevant persons, which can timely follow up the test process and make corresponding improvement.
Keywords/Search Tags:http server, automated software testing, Linux operated system, communication platform, java proxy
PDF Full Text Request
Related items