Software Testing and Reliability Computing Based on Model Rebuilding
- Author
- MaChao
- Advisor
- HuJueLiang , DingZuoHua
- School
- Zhejiang Sci-Tech University
- Major
- Signal and Information Processing
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 54
- Citations
- 0
Abstract
With the development of computer software, the scale and complexity problem is becoming more larger, which leads to high expectation on the reliability of the software. Software testing is aimed at detecting and correcting the flaws of the software, is an important tool to ensure and improve the product quality and plays an important role during the development. The key to product testing is test case generating. Reliability is a natural property and an important indicator to quality evaluating. Generating test case and computing reliability are major issues in the study.In this paper, test cases are generated by model checking. The Petri net model of the source program is first built from source code. According to the model, by defining the transformation rules, the Petri net model is transformed into Promela form, which is the input language to model checking tool SPIN. Liner temporal logic (LTL) is used to properties of the program. Counter-examples will be generated by SPIN, which are the test case. By checking all the properties, we will get all the test case.Regarding reliability computing, Nelson model is employed in this paper. By analyzing the test result, we compute the reliability.Finally, an ATM and Bank system example is used to illustrate the benefit of our approach.
Table of contents
Summary 4-5
ABSTRACT 5-8
first chapter 8-13
1.1 Background 8-9 < br /> 1.2 research status at home and abroad development and status 9-11
1.2.1 software testing 9-10
1.2.2 software development and status of reliability 10-11
1.3 The main contents 11-12
1.4 thesis structure 12-13
The second chapter of the source model reconstruction 13-20
2.1 C language 13-14
2.2 Petri nets 14-15
2.3 C program to the Petri net model 15-19
2.3.1 transformation rules outlined 15-16
2.3.2 C program to Petri nets transformation rules 16-19
2.4 Case Study 19-20
Chapter generate test cases based on model checking and testing 20-36
3.1 software testing 20
3.2 test 20-21
3.2.1 test case definition 20-21
3.2.2 test case generation method 21
3.3 model checking 21 -23
3.3.1 Overview of model checking 21-22
3.3.2 model checking step 22-23
3.4 model checker SPIN 23 -25
3.4.1 SPIN describes 23
detection methods 3.4.2 SPIN 's 23-25 ??
3.5 SPIN model checker input language Promela 25-31
3.5.1 Promela Language Overview 25-28
3.5.2 Petri nets into Promela language conversion rules 28-31
3.6 how to use model checking to generate test cases 31-36
3.6.1 test case generation 31-34
3.6.2 test execution 34-36 <br / > The fourth chapter reliability calculation 36-43
4.1 software reliability 36-39
4.1.1 software reliability concepts 37-38 <br / > 4.1.2 Description reliability 38-39
4.2 reliability model 39-43
4.2.1 Nelson model Overview 39
4.2.2 Nelson and reliability of the model calculation 39-41
4.2.3 reliability calculation 41-43
fifth chapter case studies 43-52 < br /> build 5.1 ATM-Bank system model 43-44
5.2 test case generation 44-49
5.3 reliability calculation 49-52 < br /> summary and Outlook 52-53
References 53-58
Thanks 58-59
Appendix 59-64
pursue graduate studies during 64
Related dissertations
- Research on Web Service Testing Model and Testing Approach Based on Agent
- The Research and Design of Test Case Generation Tool Based on Constraint Programming
- Research on Software Test Module of Lead-free Solder Paste Printed Equipment
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- Testing for Selecting Atm Equipments Based on Event-Driven
- N3806Mobile Phone Black Box Testing Management and Method
- Nuclear power software testing research based on local continuity
- Test Case Generation and Management
- Website Design and Implementation of Mobile Phone Sales
- The Modeling and Implementation of the Downhole Integrated System Based on Workflow Technology
- The Design and Implementation of Software Testing Architecture of Wireless Sensor Networks
- Research on Analysis and Testing Techniques of Object-Oriented Programs
- Research on Theory and Several Key Technologies of Business Process Management
- Research and Implementation of Testing Techniques for UML
- Reuse Strategy and Its Implementation on Software Testing and Evaluation
- Research on Some Key Technology of Software Testing Reuse Based on Formal Method
- Research on the Formal Verification of ASIP Architecture Level Design
- Modeling and Analyzing Trustworthy Embedded Softwares in Model Driven Architecture
- Key Technology Research service grid environment scenario testing
- Software Testing Study and Its Implementation in Multimedia Network Teaching System