Research on a Method of Test Cases Generation Based on Timed Automata
- Author
- FanSuJuan
- Advisor
- ZhuangLei
- School
- Zhengzhou University
- Major
- Computer Software and Theory
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 67
- Citations
- 0
- Real-time systems
- Model-based testing
- Test Cases
- Timed Automata
- Model Checking
- state-space explosion
- Mutation Test
Abstract
Software testing is the most fundamental and important way to improve software reliability and guarantee the correctness of software. And the design of test cases is the key issue of software testing. It is also a fundamental guarantee of the quality of software testing. With the increasing scale of software systems and the expanding of applications, the testing of software systems becomes more difficult. Therefore, the techniques of automated software testing have become an important research directions in recent years.Model based test cases generation has been developed as a prominent technique in testing of reactive software systems. It uses formal methods to model the system and generates test cases based on the model. Model checking is one of the main technologies that are used in model based test case generation. So it is inevitable to meet the state-space explosion problem in the process of deriving test cases. In addition, temporal logic errors in the systems would perhaps lead to disastrous consequences for real-time systems. Therefore, how to avoid the state-space explosion in the test case generation and try to find implied temporal errors of software are the main questions discussed in this thesis.The thesis studies the method of test case generation based on timed automata and analyzes a class of real-time system with different time scales. A technique of improvement on a method of test cases generation based on timed automata is proposed. The original structure of timed automata model is improved to reduce the impact of the state-space explosion. Accordingly the velocity of model-based test cases generation is enhanced and the size of the generated test suite is reduced.Real-time systems are often concurrent, so the response time depends on the execution time and order of different tasks. After studying on a method of mutation testing based on timed automata extended with tasks and analyzing deeply the characteristics of internal behaviors of concurrent real-time system and all possible ways of test hypothesis, this thesis gives a new way of mutation testing. We define a few kinds of mutation operator for simulating a variety of timing errors of real-time systems. We use the tool of scheduling analysis TIMES to model the real-time systems. And the timed automata model of system is mutated by our mutation operators. This method can generate test sequences which can reveal timing errors of systems.
Table of contents
Abstract 4-5
Abstract 5-7
directory 7-9
1 Introduction 9-14
1.1 research background and significance 9-10
1.2 research status 10-12
1.3 paper work done 12
1.4 The paper is organized 12-14
2 model-based test case generation method introduced 14-25
2.1 software test model 14-17
2.2 model checking 17-21
2.3 model-based testing 21-24
2.3.1 model-based testing 21-22
2.3.2 test case selection criteria 22-23
2.3.3 model-based software testing characteristics 23-24
2.4 Summary 24-25
3 automatically based on time machine model test case generation method optimization 25-35
3.1 forward symbolic reachability analysis in question 25-27
3.2 model to detect the acceleration 27-28
3.3 test generation optimization 28-34
3.3.1 test generation tool 28-29
3.3.2 coverage Criteria 29 - 31
3.3.3 experimental Verification and Analysis 31-34
3.4 Summary 34-35
4 automaton model based on the time variation of test generation method 35-50
4.1 based on mutation testing 35-36
4.2 system model 36-40
4.2.1 task parameters and constraints 36-37
4.2.2 task timed automata 37-39
4.2.3 dispatching 39-40
4.2.4 TIMES 40
4.3 mutation operator 40-43
4.3.1 task set mutation 41-43
4.3.2 automata mutation 43 < br /> 4.4 variant test case generation 43-48
4.4.1 test generation process 43-44
4.4.2 experimental setup 44-45 <br / > 4.4.3 test Run 45-48
4.5 chapter Summary 48-50
5 Summary and Outlook 50-51
References 51-55
Thanks 55-56
biographical papers published during the study period and research 56
Related dissertations
- Formal Modeling and Verification of Real-time Systems Based on Time Automation
- Accessibility Research timed automata
- Optimization of timed automata model - based authentication method
- Research and Application on Key Technologies of Model Checking
- Formal Modeling and Verification Research of Automatic Train Protection System
- Testing and Verification Methods Based on UML2.0Models
- Research on Formal Verification Methods of Model of Complicated Information System
- Modeling and Analyzing Wireless Sensor Network Protocols with Stochastic Timed Automata and Statistical Model Checking
- Model Checking and Testing of Concurrent Systems
- Study of Real-time Value-passing and Real-time Mobile Systems
- Research on Worst-Case Execution Time Analysis Techniques of Real-Time Systems
- The specification validation studies real-time systems based on timed automata
- Research on Timed Automata and Its Application
- The Research and Implementation of Algorithms for Model-Checking Tool FPTAT for Real-Time Systems
- Study on Exact Acceleration of Real-Time Model Checking
- Research on Verification of Web Service Composition Based on XYZ/ADL
- Timed automata model - based verification techniques
- Research on Trustworthiness of Resource Adaptability for Internetware
- Research on Energy-efficient Real-time Task Scheduling Algorithm Based on Multi-core Processors
- Clocks Manipulation Applying to the Formal Verificationof Timed System