Font Size: a A A

Embedded Software Unit Testing In Instrumentation Technology

Posted on:2014-01-25Degree:MasterType:Thesis
Country:ChinaCandidate:B HongFull Text:PDF
GTID:2268330398957939Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
With the development of instrumentation industry, the user needs to continuously improving,sothe embedded system has been widely used in instruments and meters, the complexity of hardwareand software of the instrument is higher. In addition, because of the special characteristic of theinstrument application field, the quality of the embedded software requirements more stringent. Inaddition, the increasingly fierce competition in the market also requires the development cycle asshort as possible. How to complete the design and development of products in short time and ensurethe quality, can no longer rely solely on detection technology and design of advanced, also need tohave a systematic and effective test strategy and test technical support. Embedded software testingas a special kind of software testing, and software testing purposes and principles are the same, toverify the design or reliability meets the requirements, through the verification to find the systemdefects. But due to the characteristics of embedded software itself, making it and software testinggeneral compared with its own characteristics. Embedded software is running on the specifichardware environment, therefore need to test reliability in the specific hardware environment;because of the special nature of the embedded software of the working environment, but also needto ensure the real-time embedded software; due to memory limitations, characteristics of the test isalso embedded software testing and the redundant memory code. At present, the PC software unittesting has a set of mature theory and tool support, high degree of automation, and the embeddedsoftware unit testing, the test is mainly rely on manual, static testing mainly rely on code day; testmanagement confusion. In the face of embedded system software and hardware environment iscomplex, not effective unit testing will remain hidden to the program。In this paper, the characteristics of instruments based on embedded software, conducts theresearch to the embedded software unit testing, analyzes the method and thought of software testing,software testing and combined with the traditional ideas, the embedded software testing method isapplied to the instrument embedded software testing. Research the method and unit testing process.In the process of software development, automated unit test tools and test methods appear more andmore, many of them are widely used. PC-Lint is a unit testing tool is widely used, mainly used forstatic testing, it is similar to a more rigorous compiler, the analysis focuses on the logic of the code,can help testers found some potential problems, effectively ensure the quality of software code. Forarray access violation, memory leaks, without the use of initialization values and other seriousproblems, plays a good preventive effect. The author makes some research and analysis of PC-Lint,given its in the use of the process is to the command line interface, human-computer interaction, theconfiguration using the output is not convenient, the use of VS development tools, developed a testing tool based on visual Windows PC-Lint, can be customized code day rule. Finally, the authorto condensing technology LC-MS project as the background, development and design to participatein the project, the development of test task is responsible for part of the embedded software,combined with the project characteristics, the use of test tools development, unit testing ofembedded software, verified the practicability of the software. The maximum level to ensure thesoftware quality, improve product reliability.
Keywords/Search Tags:Embedded Software Test, Unit testing, PC-Lint
PDF Full Text Request
Related items