Research and Realization of Automated Unit Independency Test in Embedded System
- Author
- HuangLiMin
- Advisor
- LinCongRen
- School
- Xiamen University
- Major
- Communication and Information System
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 49
- Citations
- 1
Abstract
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.
Table of contents
Abstract 4-5
Abstract 5-10
first chapter 10-16
1.1 research background 10-13
1.1.1 Software Reliability 10-11
1.1.2 software testing, development status 11-12
1.1.3 embedded software testing significance 12-13
1.2 the research purpose and significance of 13-14
1.3 papers 14-15
the structure of the thesis 1.4 15-16
the second chapter of the software testing and software quality 16-37
2.1 software quality 16-19
2.1.1 software quality 16-17
2.1.2 software quality assurance system 17-19
2.2 software testing 19-23
2.2.1 software testing process 20-22
2.2.2 software testing 22-23
2.3 software test automation 23-29
2.3.1 Automated Testing Overview 23-24
2.3.2 automate the testing process 24-26
2.3.3 automated testing tools 26-27
2.3.4 automated testing tools Research 27-29
2.4 embedded software testing 29-37
2.4.1 embedded software test environment 29-31
2.4.2 embedded systems software testing tools 31-32
2.4.3 Embedded systems software testing tools Research 32-37
The third chapter has nothing to do automated testing tools functional design 37-44
the
3.1 IndependencyTest tool is the working principle 37-38
3.2 IndependencyTest tool for the functional design 38-42
3.2.1 Requirement Description 38-41
3.2.2 tested software module information extraction module 41
3.2.3 test method and test data building blocks 41
3.2.4 test case generation module 41
3.2.5 test results generation module 41-42
3.3 IndependencyTest tool interface design 42-44
based on SPCE061A IndependencyTest tools 44-71
4.1 development platform 44-56
4.1.1 SPCE061A microcontroller About 44-46
4.1.2 SPCE061A microcontroller hardware architecture 46-53
4.1.3 μ'nSP ~ (TM) assembly language programming 53-56
4.2 IndependencyTest tool measured information extraction module 56-59
4.2.1 test subroutine syntax rules 56-58
4.2.2 the measured module information extraction 58-59
4.3 IndependencyTest tool functions 59-69
4.3.1 data space, independent of the realization of the test function 59-61
4.3.2 stack space independent of the realization of the test function 61-62
4.3.3 I / O space, independent of test functions implementation 62-65
4.3.4 register independent of the realization of the test function 65-67
4.3.5 interrupt independent of test functions 67-69
4.4 test result output module 69-71
of Chapter IndependencyTest tools test 71-78
5.1 test environment 71
5.2 IndependencyTest tools test 71-78
5.2.1 test content 71
5.2.2 testing program 71-74
5.2.3 test results 74-78
Chapter VI Summary and Outlook 78-79
6.1 summarizes 78
6.2 Looking 78-79
References 79-82
thank 82-83
during graduate papers 83
Related dissertations
- Method Research and System Development of Software Automatic Testing
- Design of remote meter reading system based on GPRS network
- Design and Realization of Software Automation Testing Framework Base on Iterative Development
- Code Coverage Analysis and Path Selection Technology Research and Application
- Research and Implementation of Automatic Stub Generation Technology in Unit Test
- Research on Unit Test Methods of Special Transformer Acquisition Terminal Based on Embedded Linux
- Aspect-oriented Programming-based Unit Test Effectiveness Detection System
- Research and Design of Automatic Software Fault Locatlization Technology in Unit Test
- Design and implementation of online bookstore system based on Struts Framework
- Research and Implementation of Automated Testing for Communication-based Train Control Platform
- Research on nuclear power software unit test suite reduction
- The Application of Automatic Generation of Test Scripts in Object-oriented Software Testing
- Research on Automated Software Testing Based on XML
- Grid Software Testing Automation Framework Research and Implementation
- Research and Implementation on Unit Test Based Network Management System
- Software Testing Technology and Developing an Automated Software Testing Tool
- The Study and Implementation of Unit Test System for C++ Programs
- In the SGSN side GTPC protocol design , implementation, and testing
- Motor vehicle management information system development
- Research and Implementation of distributed software test automation technology