Research and Implementation of Test Oracle Techniques Based on Log File Analysis
- Author
- TuDan
- Advisor
- ChenRong
- School
- Dalian Maritime University
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 72
- Citations
- 0
Abstract
As software becomes an important element in daily life,there is a growing concern for software quality and reliability.As a mainstream technique for assuring software quality,Software Testing is the process used to help identify the correctness, completeness,security,and quality of developed computer software.This includes the execution of a program or application with the intent of finding errors.The essence of standards in dynamic software testing is test oracle,which is used to judge whether the software under test has behaved correctly on a particular execution.Log file analysis is a typical specification-based test oracle technique,where the specification is defined by a Finite State Machine(FSM) language and is independent of source code and programming language,and can be used to describe a variety of software behavior.The FSM language can express much more than assertions,and has a strong flexibility and a wide range of applications.Moreover,the testing is done on log files,so it is independent of the choice and the execution of the test case,it only concerns on the judgment of test result and monitoring software dynamic behavior.In this paper,we mainly work on the test oracle techniques based on log file analysis and implement a testing tool in Java.We provide APIs for writing log file, extend Andrew’s state machine language,design and implement the data structure for state machine and the test oracle algorithm,and even apply our tool for monitoring a real software running.The experimental results show that our tool can detect errors which violate constraints at both the unit level test and the system level test.
Table of contents
Abstract 5-6
Abstract 6-9
Chapter 1 Introduction 9-13
1.1 Background 9
1.2 history and development of the status quo 9-11
1.3 research 11-12
1.4 paper structure 12-13
Chapter 2 test oracle Overview 13-39
2.1 test oracle 13-14
2.2 converter predicted 14-16
2.3 embedded assertions language 16-26
2.3.1 Anna 18-19
2.3.2 C language assertion system 19-21
2.3.3 Eiffel 21-23
2.3.4 Java assertion system 23-26
2.4 external interface contract 26-29
2.4.1 ADL 26-27
2.4.2 TOG 27-29
2.5 pure specification language 29-36
2.5.1 Z language, and Z object 29-32
2.5.2 Timing predicted 32-34
2.5.3 SCR 34-36
2.6 track check 36-39
Chapter 3, log file analysis method 39-49
3.1 log files 39-41
3.2 state machine 41-42
3.3 log file analyzer 42-45
3.4 log file analysis language LFAL 45-48
3.5 some discussion 48-49
Chapter 4 Design and 49-63
4.1 architecture 49-52
4.1.1 offline log analysis 50-51
4.1.2 online status monitoring 51-52
4.2 log strategy 52-53
4.3 LFAL parser with the JavaCC.; 53-55
4.4 data structures 55-59
4.4.1 state 55
4.4.2 event 55-56
4.4.3 state machine 56-59
4.5 algorithm 59-63
4.5.1 log file filtering algorithms 60-61
4.5.2 test oracle algorithm 61-63
Chapter 5, experimental results 63-71
5.1 Elevator 63-65
5.2 parser 65-67
5.3 backgammon game 67-71
Chapter 6 Summary and Outlook 71-73
6.1 summarizes 71
6.2 Looking 71-73
References 73-77
published papers during the study for a degree 77-79
thank 79-81
graduate resume 81
Related dissertations
- Research and design of on-board control universal testing platform software
- Design and Implementation of Automated Test Case Generator
- The Design and Implementation of Public Client Business System of Internet Bank Based on J2EE
- Web Based Metwork-Security Tool Testing and Analysis
- Research on Website Traffic Statistical Analysis Technology
- Software development for a launch vehicle
- Research on Software Automatic Testing and Its Application in Online Bank System
- Research and Implementation of Automatic Stub Generation Technology in Unit Test
- Research on Android-based Keyword-driven Automated Testing Framework
- Study on Neural Network and Its Application in Software Fault Localization
- Research and Implementation of Automatic Software Testing Platform for Adsl Access Device
- Design and Realization of Software Testing Management Tool
- Research on Application of automatic test case generation based on Improved Genetic Algorithm
- Design and implementation of Automatic Pharmacy software system of TCM formula granule
- The Analysis and Design of Government Auto Office System Based SSH Framework
- Research of Software Testing Services in the Cloud Computing Environment
- The Application of Embedded TCL Technology in MPLS VPN Test
- The Research and Implementation of VoIP Software Auto Test System
- Study on the Risk Assessment of Android Smartphone Software Testing
- The Key Technologies of Software Parallel Test Based on Cloud Computing