Embedded Software Testing Based on Code Implantation Technology
- Author
- XueZuo
- Advisor
- LiuXiYang , LuXiaoChun
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 121
- Citations
- 0
Abstract
With the expanding range of applications for embedded systems , embedded software testing more and more attention . This paper focuses on the automated testing of embedded software , application test cases automatically generated code into the technical design of a set of common used in embedded software, automated testing program to solve the problem for automated testing of binary code . This paper studies the automated testing technology , combined with the special requirements of the embedded software testing , model and test results of three applied to embedded software automated test case generation program transfer and storage model . In order to achieve that will be used for the purpose of testing the code inserted into the program under test , code into technical design and code into binary code tools , the tools without changing the program itself is the premise of the logical structure , replaced by code the way to move a small amount of the original program code to the the idle code segment in the memory of the system under test , and test auxiliary code simultaneously implanted idle code segment , in order to achieve the purpose of the test auxiliary code and the measured code with the system under test run . Demand for practical application , test cases automatically generate code implant technology , test case generation module for auxiliary code into the binary code test coverage analysis , be modified to run actual system measured code to complete the process of automatic test . Proven to achieve the results of the test program to meet the target , to achieve the purpose of improving the efficiency of the test design .
Table of contents
Abstract 3-4
ABSTRACT 4-8
The first chapter 8-11
1.1 Background 8-9
1.2 research contents and research status 9
1.3 essay structure 9-11
second chapter the basic principles of software testing 11-29
2.1 Software Testing Overview 11-15
2.1.1 software testing purposes 11-12
2.1.2 software testing object 12
2.1.3 software test data flow diagram 12-13
2.1.4 software testing strategy 13-15
2.1.5 software testing methods 15
2.2 software testing adequacy criterion 15-21
2.2.1 test adequacy criteria for the concept 15-16
2.2.2 test adequacy criteria for the classification of 16
2.2.3 Structural Testing 16-18
2.2.4 defect-based test 18-20
2.2.5 based on an incorrect test 20-21
2.3 automatic test case generation 21-24
2.3.1 features automatic test data generation techniques 22
2.3.2 Structural Test Data Generation Technology 22-24
2.4 embedded software testing features 24-25
2.4.1 characteristics of embedded systems 24-25
2.4.2 Embedded Software Testing 25
2.5 code implant technology 25-29
2.5.1 Static code implant technology 26-27
2.5.2 Dynamic Code implant technology 27-29
Chapter code-based implant technology test program design 29-41
3.1 Testing Task Description 29-30
3.1.1 Hardware Description 29
3.1.2 Software Description 29
3.1.3 testing objectives 29-30
3.1.4 test environment 30
3.2 Test Solution Overview 30-31
3.3 Test Driver Design 31-36
3.3.1 Description of the test case generation based model 31-32
3.3.2 based on pseudo-random test generation model 32-34
3.3.3 test case generation based on intelligent algorithm model 34-35
3.3.4 Comparison of three kinds of test case generation model 35-36
3.4 code into tools designed 36-39
3.4.1 Design Overview 36-37
3.4.2 source-level code into model design 37-38
3.4.3 binary code level code for the implant model design 38-39
3.5 logging of test results model design 39-41
Chapter code-based implant technology testing program to achieve 41-59
4.1 Overview 41-43
4.1.1 test environment to build 41
4.1.2 key issues 41-42
4.1.3 Testing Process 42-43
4.2 test driver implementation 43-51
4.2.1 Description of the test case generation module based 43-46
4.2.2 based on pseudo-random test case generation module 46-49
4.2.3 test case generation based on intelligent algorithm module 49-51
4.3 code into tools to achieve 51-57
4.3.1 code into algorithms 51-54
4.3.2 code into functions to achieve 54-57
4.4 Analysis of test results storage 57-58
4.5 Summary 58-59
Chapter experiments and test results 59-67
5.1 for automatic test case generation module test 59-61
5.1.1 Coding Standards 59
5.1.2 testing objectives 59
5.1.3 automatically generate test cases based on the description of the module 59-60
5.1.4 Automatic test cases based on pseudo-random generation module 60-61
5.2 code into the tool test 61-65
5.2.1 Encoding Rules 61
5.2.2 testing objectives 61
5.2.3 tool interface 61-62
5.2.4 Test results 62-65
5.3 module test results are stored 65-67
Chapter VI Conclusion 67-69
Thanks 69-70
References 70-73
Related dissertations
- The Simulation Environment of Embedded Binary Software Defect Detection System
- The Design and Realization of the Power Assisted Servo System
- Research and Application on Domain-oriented Embedded System Software Requirement Model
- Test Cases Generating and Prioritizating of Embedded Software Defect Detecting
- The Development of Tower Crane Safety Surveillance System
- The Design and Implement of Tedting Radiotheraphy Motion Control System
- Research on Detecting Buffer Overflow in Binary Code
- A Requirements Verification Supporting Tool for Embedded Systems
- Research of the Instrumentation in Embeded Software Coverage Testing
- Design and Development of Automated Testing Tool for Wireless Communication Module
- Reliability Modeling and Evaluation of the Embedded Software Based on AADL
- Research and Implementation of Automated Testing for Communication-based Train Control Platform
- Research and Implementation of Embedded Program Invariant for Static Testing Based on Abstract Interpretation
- Research on Self-Healing Strategy of Embedded Software
- Embedded Software Design and Implementation of Gait Monitoring System
- Research of Automated Testing Techniques for Safety-critical Software
- Research on the Way of Quality Evaluation of Embedded Software in Electronic Metrology Products
- Research and Development of Embedded Education System with Electronics and Related Majors as Oriented
- Test Case Generation and Management
- Research on Reliability Model of Embedded Software