Font Size: a A A

Research On Unit Test Methods Of Special Transformer Acquisition Terminal Based On Embedded Linux

Posted on:2013-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:Y B ZhouFull Text:PDF
GTID:2218330374465128Subject:Electrical engineering
Abstract/Summary:PDF Full Text Request
In accordance with the general requirements of the State Grid Corporation of building a strong and smart grid, the industry is vigorously the construction of the information collection system. Special transformer acquisition terminal is to collect information of users of electricity using a dedicated transformer equipment, mostly developed with ARM9platform and embedded Linux operating system. Due to the nature of the embedded system software:operating environment resources are scarce, and less testing tools, currently more domestic research for embedded systems software testing, system testing, but few software module unit-level test, so it is necessary to change the method of collection terminal unit test based on embedded Linux designed.In this paper, Special transformer acquisition terminal unit test method, summed up in the actual work discusses the generic unit test method based on embedded Linux software, specific contents are as follows:(1) Steps of the unit test activities, is also divided into four steps:plan, design, implementation, and execution;(1) Unit testing activities, including the detailed design stage of document review, unit testing, model design, unit test case design and coding phase of the code to view the dynamic execution of test;(3) Code to view the use of relevant tools specification checking, resource bounds checking, grammar problems, check the Day for code changes;(4) Unit test output documentation to comply with the test acceptanceIn addition, accordance with the needs and draws at home and abroad on the basis of a variety of unit testing tools, exploration and research applicable specifically to change the special transformer acquisition terminal development process of unit testing several tools, and detailed study of the use of tools, in order to promote the use of keeping continuous innovation, focuses on the special transformer acquisition terminal software code review concerns, how to use PC-Lint code checking, and how to use the CppUnit tool for unit testing the dynamic execution, how to use the tool Ccmalloc/Valgrind is a memory leak check.
Keywords/Search Tags:unit test, code review, memory leak, PC-Lint, CppUnit
PDF Full Text Request
Related items