Font Size: a A A

Research And Realization Of Automated Unit Independency Test In Embedded System

Posted on:2009-03-06Degree:MasterType:Thesis
Country:ChinaCandidate:L M HuangFull Text:PDF
GTID:2178360272490231Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
Software testing is an important means to ensure and improve the software reliability, software unit testing can be the first to detect errors. The sub-module or subprogram which has passed through function test is not always correct. There may be some potential flaws in the sub-module which are difficult to detect. These flaws do not affect the functional correctness of the module, but impact functions of other modules because of improper use of resources, causing system faults or even collapse. This thesis proposes the concept of software unit independency, that a sub-module can't affect the operation of other modules and the entire system. The concept of software module independency includes seven aspects: code space independency, data space independency, stack space independency, I/O independency, registers independency, interruptions independency test, and duplicated calling independency.The current embedded software unit test tools mainly include function test, but there is not independency test. According to this situation, the thesis has done some explorative research on the principle and realization method of automated software unit independency test. The research objective is to realize the seven aspects of automated independency test and find out the universal testing method of various types of CPU. The current testing tools and development tools are separated each other, which is not avail to detect potential flaws early. So the final goal is to integrate the test tool into development tools.The thesis primarily realizes the automated unit independency test which based SPCE061A. It includes as following five aspects: data space independency test, stack space independency test, I/O independency test, registers independency test, interruptions independency test. Each function module of independency test includes four steps: the extraction of information, test methods and test data automatically construction, test case generation and the output of the test results. The test results showed that IndependencyTest tool can find out the potential programming flaws of assembly language program.
Keywords/Search Tags:Independency Test, Unit Test, Software Test Automation
PDF Full Text Request
Related items