Issue No. 07 - July (2003 vol. 29)
James H. Andrews , Member, IEEE
<p><b>Abstract</b>—We describe and apply a lightweight formal method for checking test results. The method assumes that the software under test writes a text log file; this log file is then analyzed by a program to see if it reveals failures. We suggest a state-machine-based formalism for specifying the log file analyzer programs and describe a language and implementation based on that formalism. We report on empirical studies of the application of log file analysis to random testing of units. We describe the results of experiments done to compare the performance and effectiveness of random unit testing with coverage checking and log file analysis to other unit testing procedures. The experiments suggest that writing a formal log file analyzer and using random testing is competitive with other formal and informal methods for unit testing.</p>
Testing, specification, safety verification, lightweight formal methods, test oracles, unit testing, log file analysis
Y. Zhang and J. H. Andrews, "General Test Result Checking with Log File Analysis," in IEEE Transactions on Software Engineering, vol. 29, no. , pp. 634-648, 2003.