An Automated Testing Method for Embedded System
- Author
- WangZeLin
- Advisor
- ZhangJiaChen
- School
- Jilin University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 177
- Citations
- 1
Abstract
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.
Table of contents
Summary 4-7
Chapter 1 Introduction 7-9
1.1 In this paper the background 7
1.2 Summary of this article 7-8
1.3 This paper is organized 8
1.4 Summary 8-9
embedded systems automated testing
Chapter 2 Summary of 9-24
2.1 Embedded System Testing Overview 9-16
2.1.1 embedded systems concept 9-10
2.1.2 embedded systems testing strategy 10-14
2.1.3 embedded system test characteristics 14-16
2.2 embedded system testing tools 16-19
2.2.1 pure software testing tools 17
2.2.2 pure hardware testing tool 17-18
2.2.3 Rigid-Flex test tools 18-19
2.3 regression test the importance of strategies 19-20
2.4 test automation technology 20-23
2.4.1 software test automation concept 20-22
2.4.2 software test automation key technologies 22-23
2.5 Summary 23-24
Chapter 3
embedded systems automated testing methods 24-31
3.1 test method, the overall design 24-26
3.2 automated test method of the overall framework 26-30
3.2.1 test method hardware composition 26-27
3.2.2 test method for software composition 27-28
3.2.3 testing methods testing process 28-29
3.2.4 command line Perl test script structure design 29-30
3.3 Summary 30-31
Chapter 4, the Vivante graphics processor and automated testing 31-46
4.1 Vivante graphics processor test plan 31
4.2 Vivante is the graphics processor test cases 31-33
4.3 automated test implementation 33-40
4.3.1 server-side implementation 34-35
4.3.2 client to achieve. 35-40
4.3.2.1 automated compilation 36-38
4.3.2.2 test cases automatically perform 38-40
4.4 automated analysis of test results, 40-43
4.4.1 automated comparison 40-42
4.4.2 Visualization of test reports 42-43
4.5 maintaining test scripts for use in regression testing 43-45
4.5.1 Perl test script library management 43-45
4.5.2 Perl test script library maintenance 45
4.6 Summary 45-46
Chapter 5 defect tracking management 46-51
5.1 bugs to submit 46-48
5.2 bugs state statistics 48-49
5.3 automated test program to improve test efficiency analysis 49-50
5.4 Summary 50-51
Chapter 6 summarizes 51-53
6.1 The results of summary 51-52
6.2 further 52-53
References 53-55
thank 55-56
Summary 56-58
Abstract 58-60
Related dissertations
- The Application and Research of Automation Test with Dojo Based on Selenium
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Design and Implementation of Distributed Automation Testing System for Android Application
- Research on Mobile Games Software Automated Testing Based Machine Learning
- Design and Realization of Test Equipment for a Data Record Device
- Design and implementation of monitoring tool Linux system and its automation test based on
- Analysis and Design of Automated-Testing Framework for E-Commerce System
- Research and Implementation of an Automatic Embedded Test Platform
- Design and Implementation of Automated Financial Data Validation Tool for Financial Information Service Industry
- The Design and Implementation of Autotest
- The Design and Implementation of Automated Testing System of Itis on Mac OS
- Research on Test Plan of Development&Application and Its Technical Realization
- Design and Implementation of Embedded Software Testing System Based Qtopa
- Design and Implementation of Testing Tools for DBMS Based on TETware
- Research on Testing Model and Automated Testing of Web Application
- Design and Realization of Process Engine’s Automated Testing Based on Workflow
- Design and Implementation of Conductor-an Automated Testing Tool
- The Design and Realization of China Unicom IT Software Automatically Tests
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- Research on Application of automatic test case generation based on Improved Genetic Algorithm