Title :
A Method of Log File Analysis for Test Oracle
Author :
Tu, Dan ; Chen, Rong ; Du, Zhenjun ; Liu, Yaqing
Author_Institution :
Sch. of Inf. Sci. & Technol., Dalian Maritime Univ., Dalian, China
Abstract :
An oracle is a mechanism commonly used for determining whether a system has passed or failed a test, which is very important for software testing. A log file, used to record the history of software´s behavior, provides a means for debugging and testing. Log file analysis (LFA) is a lately applied approach for test oracle, having shown its applicable prospect in software testing. To achieve the better feature of general purpose, we propose a practical test oracle framework based on log file analysis, presents a 7-tuple state machine model for the analyzer and designs a description language to describe the state machine. The data structures and the algorithm for the implementation of this method are also given. Experimental results show this method can be easily used to test software whether on system-testing level or unit-testing level, suitable for various software testing.
Keywords :
data structures; finite state machines; program debugging; program testing; data structure; log file analysis; software behavior; software debugging; software testing; test oracle; tuple state machine model; unit-testing level; Data structures; Debugging; Embedded computing; Failure analysis; History; Information analysis; Information science; Runtime; Software testing; System testing; log file analysis; software testing; state machine; test oracle;
Conference_Titel :
Scalable Computing and Communications; Eighth International Conference on Embedded Computing, 2009. SCALCOM-EMBEDDEDCOM'09. International Conference on
Conference_Location :
Dalian
Print_ISBN :
978-0-7695-3825-9
DOI :
10.1109/EmbeddedCom-ScalCom.2009.69