Font Size: a A A

Research And Implementation Of Test Oracle Techniques Based On Log File Analysis

Posted on:2010-08-25Degree:MasterType:Thesis
Country:ChinaCandidate:D TuFull Text:PDF
GTID:2178360275953628Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Software Test, Test Oracle, Log File Analysis, Finite State Machine(FSM)
PDF Full Text Request
Related items