Embedded software testing software simulation environment
- Author
- TangKe
- Advisor
- WangWenYong
- School
- University of Electronic Science and Technology
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 511
- Citations
- 12
- Embedded Software Testing
- software simulation
- basic block
- Program flow graph
- White-box testing
- Test Case
Abstract
In practical work , there are many dedicated embedded systems , assembly language as a development language , the lack of rigorous software testing , difficult to find errors and confirm the software , and therefore need to be able to professional software testing tools for assembly language . Ideas and methods of the paper embedded systems software testing , and the introduction of a common software testing ( black-box testing , white box testing ) , and the characteristics of embedded systems in the specific test method improvements in built on the basis of software testing platform . Embedded system software has a dedicated , hardware -dependent , embedded , reactive , real-time characteristics such embedded software run by the constraints of the hardware , and the way to avoid hardware - dependent software simulation , thus on this basis, the testing of embedded software . The establishment of a software simulation environment is the basis of the thesis research and testing work . Therefore, to establish compatible with Linux-based Intel 8051 series CPU simulation platform cereal, through in-depth analysis and study of its core , a clear definition of the modules and their interconnections , register access , modify the mechanism , the breakpoint setting mechanisms as well as instruction simulation , running principle . And on this basis to achieve the cereal_text custom command , to complete cereal_text transplant to TCL , a test case script interpreter environment . Complete system outline design the preprocessing module data structure definition and algorithm design overview of design and test cases , participate in Lex and Yacc the lexical syntax analysis of research work . Proposed in the analysis of the structure of the assembly language to the basic block division unit, the program flow diagram is constructed , thereby using handler flow chart , and calculate the number of the branch path and cycle of the program under test storage complex degrees. Designed on the basis of the statement coverage , path coverage , branch coverage algorithm . Finally , under the joint efforts of all the comrades of the project team to complete the coding and debugging of the test system , the prototype test system for 8051 assembly language . The study shows that the software simulation runtime environment for embedded software testing is a low- cost and practical way .
Table of contents
Chapter Introduction 9-15
1.1 subject background 9-10
1.2 content and significance of the study 10
1.3 thesis chapters 10-11
1.4 Summary of software testing 11-15
Chapter II embedded systems and software testing for embedded systems 15-22 <br / > 2.1 Overview of embedded systems 15-17
the 2.1.1 embedded systems concepts and features 15-16
2.1.2 Boundary Scan test technology JTAG 16
the 2.1.3 embedded systems software 16-17
2.2 embedded system software test 17-21
2.2.1 test methods and techniques nbsp 17-18
2.2.2 testing process; 18-20
2.2.3 test environment select 20-21
2.3 Summary 21-22
Chapter embedded systems software testing platform designed research 22-44
3.1 system framework and process flow 22-23 <br / > 3.2 pretreatment 23-27
3.2.1 short jump 24
3.2.2 macro calls 24
3.2.3 pretreated definition of data structure and processing flow chart 24-27
3.3 lexical analysis, parsing staked are found in 27-29
3.4 program; 29-32
3.4.1 Instrumentation select log file to file 29-30
3.4.2 Instrumentation 30
3.4.3 staked location 30 <br / > the 3.4.4 probe the function of design 30-31
3.4.5 Instrumentation strategy 31
3.4.6 Dynamic test results 31-32
3.5 test case module outline design the 32-42 test case 3.5.1
use process and process flow 33
3.5.2 test case scripting language selection and C language interface 33-38
3.5.3 test cases and test platform and the interactive design of the code under test instructions nbsp 38-41
3.5.4 functional test case design method ; 41
3.5.5 Performance test case design method the 41-42
3.6 software simulation tools to determine 42-43
3.7 Summary 43-44
Chapter the software simulator Cereal the analysis and improvement 44-63
4.1 Cereal evaluation 44-47
4.2 store access and access function analysis 47-48
4.3 Cereal command-line tool 48
4.4 Cereal store access and modify 48-51 < br /> 4.5 breakpoint mechanism and its data structures 51-54
4.6 Cereal in instruction simulation run the program with the hex format 54-58
4.7 Cereal_text environment custom command and the TCL environment transplantation 58-62
4.8 Summary 62-63
Chapter covering test in the calculation of the number of branch path 63-76
5.1 test classification 63-64
5.2 basic block theory in the calculation of the branch path applications 64-74
5.3 program flow diagram and procedures complexity metric 74-75
5.4 algorithm complexity analysis 75
5.5 Summary 75-76
Chapter 8051 assembly language test system prototype implementation 76-86
6.1 Lex with Yacc lexical, syntax analysis 76-81
6.2 program instrumentation and coverage testing 81-83
6.3 Experimental results 83-85
6.4 Summary 85-86
Chapter VII of the research work Summary and Outlook 86-88
7.1 summary 86
a 7.2 further research 86-88
Acknowledgements to References 88-89
89-90
Appendix 1 90-93
Appendix 2 93-96
Appendix 3 96-101 the
Appendix 101-105
Appendix 5 the It
biographical 105-108, research and published in the school during the academic 108
research the situation 108
Papers circumstances 108
biographical 108
Related dissertations
- 89c52 based test platform for embedded system software research and development
- The Research and Application of White-box Testing Method in CBTC Vehicle on Board System
- Research on Software Automatio Test Case Generation Based on GA
- The Design and Realization of General Testing Process in Software Industry
- Research on the Impact of Human Resource Management on Employees Performance
- Design and Implementation of Automated Test Case Generator
- Design and Implementation of Electricity Management System in Dongying Estuary Area Power Supply Company
- Research and Implementation of Automated Testing Platform Based on Andorid
- The Research and Design of Software Component Testing Framework Based on Date-driver
- Technology Discussion of TD-LTE SAE
- Research and Realization of Interoperability Test Testing Based on TTCN
- The Study on the Expansion of Judgment of Test Case
- Research on Merge Unit of the Electronic Transformer
- Research4000kN·m Level of Compaction Soil Slope Dynamic Response Rule
- Finite Element Analysis of Pile-Soil-Structure Interaction Bridge Pile Foundation under Earthquake
- Route Control Process Oriented Highly Efficient Testing Method of Railway Signal Interlocking Software
- Scenario-based Test Cases Generation for Onboard Subsystem
- Research on Script-driven Based RBC Functional Testing Method
- The Study to the Method of Test Cases and Test Sequence’s Generation Based on the RBC Test Platform
- Research on Validation Techniques of Flight Control Software of Air-to-air Missile