Test Case Generation Method Based on Specification and Application in Embedded Software Testing
- Author
- HuangZhiHua
- Advisor
- SuGuoPing
- School
- Xinjiang University
- Major
- Communication and Information System
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 374
- Citations
- 4
Abstract
This paper focuses on object-oriented software specification - based test case generation method to study early in the software development can be synchronously generated independent high-level code design test cases , so as to further improve software productivity and quality of software products also discussed the method of real-time testing of real-time embedded software . This paper analyzes the the testability model test case generation method based on UML state diagrams , including state diagrams , formal methods and model -level and concurrent structure transformation ; followed by a comparative analysis of finite state machine - based test methods , comparing the the advantages and disadvantages of the two methods , test coverage criteria focus discuss UIOS method and the state is not up to the problem . Proposed improvement method , its test status from coverage extends the principles to the state and the state transition coverage principle on which the state is not reachable with solutions to problems , and makes the actual implementation of the test cases generated by this method is more conducive to testing ; uncertainty led to the state for extended finite state machine (EFSM) in the state transition unenforceable study proposes a transformation method , the EFSM into equivalence determination test scenarios , which can take advantage of the development of a more mature FSM generate test sequence ; Finally, combined with real-time embedded systems development , preliminary exploration for real-time testing of real-time embedded software test case design , the introduction of the concept of timed automata real-time extension of UML state diagram in the traditional the time mode Z specification describes the real-time characteristics of embedded systems , combined with embedded software DARTS design method , proposed an embedded software test case generation model ; establish a prototype system to improve the efficiency of the test , and analyze the system integrated with the UML - based CASE tools Rational rose feasibility test module based on the system developed in the early stages of software development based on formal specification of test cases .
Table of contents
Chinese Abstract 4-5
English summary 5-6
first chapter 6-8
1.1 legislature title background nbsp main work and innovation; 6
1.2 6-7
1.3 papers organizational forms 7-8
Chapter II technology and development 8-16
2.1 software test 8-12
2.1.1 software test development 9
2.1.2 Software Testing The process 9-10
2.1.3 software testing methods 10-12
2.2 test coverage criteria 12-13
2 .3 based software testing nbsp specifications; 13-15
2.3.1 Formal specification methods 13-14
2.3.2 specification-based software Test Research the 14-15
2.4 model testable defined 15-16
2.5 Summary 16
Chapter based UML state diagram of the test case generation method 16-61
3.1 UML Profile 17-22
3.1.1 UML features 17-18 nbsp contains
3.1.2 UML modeling elements; 18-22
3.2 related concepts 22-23
3.2.1 Test Case the 3.2.2 test scenario 22
22-23
3.3 test cases based on UML state diagram generated 23-53
.3.1 state diagram analysis 23-26
3.3.2 state diagram formal 26-32
3.3.2.1 Z language introduced 26-28
3.3.2.2 formal methods of the state diagram the 28-32
3.3.3 composite state diagram to a simple state diagram conversion the 32-35 3.3.4 FSM
model and its representation 35-39
3.3.5 on EFSM About 39-40
.3.6 EFSM test scenarios generated 40-49
3.3.6.1 on EFSM model uncertainty analysis 40-42
3.3.6 .2 EFSM test scenarios generated 42-49
the 3.3.7 test data generation and combination 49-53
3.4 test suite optimization 53-60
the 3.4.1 test data set divided 54-59
3.4.2 Case Study 59-60
3. 5 Summary 60-61
Chapter prototype system model 61-72
4.1 Rose extension mechanism 61-63
4. 2 test case generation framework 63-64
4.3 an instance 64-71
4.4 Summary 71-72
first chapters UML-based test case generation embedded software testing 72-86
5.1 embedded structure of the system and software development characteristics 72-73 <br / > 5.2 embedded software to test technology challenges the 73-74
5.3 embedded software testing method Research 74-78
5.4 time extension of UML state diagram 78-79
5.5 time automated machine model 79-81
5.6 Z language the Time mode expansion nbsp /> 5.7.2 embedded software test case generation model 84-85
5.8 Summary 85-86
Chapter Summary and Outlook 86-88
6.1 summarizes the 86-87
6.2 Problem The outlook 87-88
thank 88
reference literature 88-92
Appendix 92
Related dissertations
- Model-based Approaches to Generating Test Cases for Web Applications
- Research and Application of Computer Test Method
- 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
- 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 Web Service Testing Model and Testing Approach Based on Agent
- Web Based Metwork-Security Tool Testing and Analysis
- Research on Model Driven Penetration Test for SQL Injection Vulnerability in Web Applications
- Research on Embedded Systems Simulation Platform Based on SPARC
- The Design and Implementation of Software Auto Test System Based on Enodeb Control Plane