Unit Testing Technology Research in Embedded Platform of Communication System
- Author
- XiaoBo
- Advisor
- BaoPeiMing
- School
- East China Normal University
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 197
- Citations
- 6
Abstract
With the continuous development of modern communication technology , communications equipment , the real-time nature of the system , hardware integration requirements getting higher and higher . Embedded systems communication systems , widely used communications equipment is often high software quality requirements , how to ensure the quality of the embedded system software is the focus on the need to consider the problem of communication systems software projects . Depending on the error , the sooner the project pay the price the less the principle of unit testing intervention as the first software project test work , the work is good or bad for the software quality assurance plays a very critical role , how effective unit testing is currently a hot research topic . The thesis research unit testing of the communication system based embedded platform software development unit , and put forward a more complete and operable unit test solutions . Key research papers based on the characteristics of the communication system embedded platform unit test some of the issues that need to be addressed in the platform , these problems include low degree of automation , test drive it difficult to write , test program is difficult to manage , difficult to define software unit , run-time error detection programs are far from complete . To solve these problems , the paper presents a reverse engineering method to define and extract the software unit under test strategies and methods , and on this basis , the code runs the branch automatically overwrite technology , static data access violation detection technology stack data access violation detection technology the endless looping detection technology to solve the problem of the need to address . Combined with the existing unit testing technology , we can build a more complete and operable unit test solutions . Thesis research unit testing framework , within the scope of the unit test case writing is not in paper . Since the unit tests for the software code of the test , its hardware and software systems rely smaller, so the studies conducted by the paper not only applicable to the embedded platform development of the communication system - based software unit also generally applicable to the -oriented process design software unit , and unit test software for the design of object-oriented methods also have a certain reference .
Table of contents
Chapter 1 communication systems embedded platforms 8-12
1.1 Overview
the
of 1.2 communications systems embedded platform FEATURES 8-12
1.2.1 software and hardware platform independence
1.2.2 Efficient task scheduling 9-10
1.2.3 Distributed calculated
1.2.4 efficient memory access 10
1.2.5 programming language and the choice of the design method 10-12
Chapter 2, unit testing 12-16
2.1 Overview
2.2 process-oriented software unit 12-14
2.2.1 process-oriented software unit composed 12-13
2.2.2 process-oriented software unit defined 13-14
2.3 unit testing methods 14
Analysis
2.4 software unit testing 14-16
2.4.1 software unit testing of the status quo 14-15
2.4.2 software unit testing problem to be solved 15-16
Chapter 3 communications system embedded platform unit test design 16-37
3.1 unit testing framework 16-17
3.2 measured unit defined 17-21
3.3 unit under test extract 21-24
3.3.1 software module unit extraction integrity checks 23
3.3.2 Location code changes affect software unit 23-24
3.4 branch of code to run automatically overwrite 24-33
3.4.1 traditional path coverage test methods of 24-25
3.4.2 affect the path coverage testing factors 25-26
3.4.3 code to run the branch automatically overwrite method outlined 26-27
3.4.4 data type pile call graph traversal 27-29
3.4.5 Data type pile output and program call the relationship between time and space 29-30
3.4.6 data type pile call location positioning 30-32
3.4.7 core algorithm unit under test program run branch coverage automatically 32-33
3.5 unit test function verification 33-34
3.6 static data access violation detection 34
3.7 stack data access violation detection 34-36
3.8 program infinite loop detection 36-37
the Chapter 4 AUTF automated unit testing framework 37-54
4.1 overall introduction 37-39
4.2 unit testing workflow 39-41
4.2.1 combined the AUTF unit testing framework for unit testing workflow (reverse engineering method) 39-40
4.2.2 to combine AUTF unit testing framework for unit testing basic workflow (forward engineering) 40-41
the
the 4.2.3 regression testing process 41
4.3 AUTF main function introduced 41-45
4.3.1 generate the unit belongs Software module symbol table 41-42
the 4.3.2 symbol table information link function 42
4.3.3 units intersecting part of the detection function 42
the 4.3.4 functions vested unit testing function 42
4.3.5 software module unit integrity checking function 42
4.3.6 tested unit extraction function 42
4.3.7 automatically generates a pile function template 42-43
4.3.8 static data to cross-border access detection function 43
4.3.9 stack data cross-border access detection function 43
the
4.3.10 Other types of data cross-border access detection function 43-44
4.3.11 program dead loop detection function 44
4.3.12 path coverage detection function 44-45
4.3.13 code execution efficiency detection function 45
4.3.14 unit test configuration management capabilities 45
4.4 a test instance 45-54
4.4.1 test target 45
4.4.2 tested program 45-46
4.4.3 extract tested unit source 46-48
4.4.4 piles function design 48-50
4.4.5 test drive 50-51
4.4.6 verify output results 51-52
4.4.7 test integrity detection 52-54
the independently developed part of Chapter 5 AUTF and the existing test tools 54-62
5.1 with Rational Purify compare 54-57
5.1.1 static data area access violation detection 54-55
5.1.2 stack data area access violation detection 55-56
5.1.3 program dead loop detection 56-57
5.2 and Bounds Cheeker of 57-60
5.3 and Cunit unit testing framework 60-62
Chapter 6 Conclusion 62-63
the
References 63-65
Acknowledgements 65-66
the
Appendix A graduate student participation during reading the main project 66
Related dissertations
- Effects of the Multi-National Corporation to China embedded industrial agglomeration
- The Remote Wireless Control System Based on ARM Processor
- The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
- Engine Room Monitoring System Based on the Embedded Web Server
- Rearch on Intelligent Monitoring Technology That Access to Internet
- Design of Indoor Environmental Quality Monitoring System Based on ARM
- Design of Industrial Equipment State Wireless Monitoring System Based on STM32
- Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
- 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
- Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
- Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
- Design and Implementation of Video Capture System Based on Embedded Technology
- Research of Surface Roughness Network Data Collector System Based on ARM
- The Design and Implementation of Gateway and Client of Embedded Smart Home System
- The Embedded Industrial Control Module Based on iCAN Protocol
- A Design of Embedded Motion Controller for4-axis Industrial Robot
- Study on Function Modules of the Mobile Robots in Sudden Accident
- Research on Embedded Control System for Palletizing Robot