Font Size: a A A

An Automated Testing Method For Embedded System

Posted on:2010-08-10Degree:MasterType:Thesis
Country:ChinaCandidate:Z L WangFull Text:PDF
GTID:2178360272497151Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of computer hardware technology, the scale and capability of hardware of embedded system has been greatly improved. Accordingly, the complexity and scale of system software and application software of embedded system also grow increasingly. For the special characteristic of embedded system demanding software with more accurate and reliable, development of software will become the most important part during the development. Also the quality of software will plays a critical role. For the reasons mentioned above, we urgently need a test tool designed for embedded domain to improve the quality and reliability of software and shorten the development cycle. Nowadays, the technology of software auto testing has become one of the hot topics in software testing technology research area. The scale of software is getting larger and larger with the development of software technology, and the complexity of software is increasing accordingly. In China, the researching of software auto testing technology is in primary phase currently.The purpose of software testing is to ensure that the development meet the specification of the requirement. System failure is the system does not meet the needs of one or more items which mentioned in the formal requirement's specification. Embedded software has its own special criteria for the failure to determine, but it has the same purpose for testing as non-embedded system. In the embedded system design, software is increasingly replacing hardware, to lower system cost, to get the maximum flexibility, which requires better testing methods and tools for embedded and real-time software testing. The purpose of this paper is to design and accomplish an automated testing system for embedded software. Based on the analysis of status quo of embedded software testing and in-depth research of automated testing of embedded software, we bring forward a solution about automated testing system for embedded software of c-language. Then we have broken through several key technologies and accomplished an automated testing system for embedded software, whose function and performance can satisfy our most requirements.Project configuration file is used to manage test cases test cases, automated test cases after the beginning of the implementation process, server-side script in order to conduct the test units, in order to read the configuration file name of the test cases, send the appropriate information to inform the client, the client Automation will be needed to generate the run-time script, and then by generating the test script to run test cases.The overall framework for automatic testing method is designed to Client / Server structure, in test mode using Host / Target mode. For the server side, commands will be generated after tester input the requirement. After that, they will search the un-finished instant to generate the related orders. Orders will be sent to client side for execution. Also, sever side will monitor the status of testing and generate a test report. It's also the responsibility for server to trance the idle client and record the status of clients. Upon receiving the client back to the end of the test information, responsible for collecting records of test results, if a certain period of time the client has not received information back to the currently running test cases fail, record the failure information sent to the client order the suspension of the test. Client server orders received, respectively, follow the instructions to build and test the implementation of the operation. For number of test cases, if projects are complied one by one manually, and then test, it will consume lots of time with low efficiency, but if generate it automatically, only through a script command to compile the project the need for input, and then run, the required SDK packages were generated automatically. After compile finished, the client sent a message to the server for notice, the server will send the next command. Upon receiving the test command, the server will sent the information of instant to client, and client will download the instant from server then sent it to the target machine for execution, then collecting the result and send it back to the server. This is part two of the design and the corresponding realization of Perl scripts in the paper the Treasury is described in detail with the explanation. Use Perl to write test scripts, because it is easier to use than C / C + +, and can be used in multiple system platforms.We use the Bugzilla system to manage the Bugs which are found in the automated testing or manual testing. It a very important part to record bug information and track if it has been fixed during the test process.We can see that the use of automated regression testing to test the market will not only reduce the test effort, but also improve the test consistency and re-usability. Automated test improve the efficiency of testing, more effective. This testing method for embedded system solved a number of key issues such as automated building, automated testing. The method used in the actual project and then achieved good results.
Keywords/Search Tags:Automated testing, Embedded GPU, Automated testing for embedded system
PDF Full Text Request
Related items