• DocumentCode
    746240
  • Title

    General test result checking with log file analysis

  • Author

    Andrews, James H. ; Zhang, Yingjun

  • Author_Institution
    Dept. of Comput. Sci., Univ. of Western Ontario, London, Ont., Canada
  • Volume
    29
  • Issue
    7
  • fYear
    2003
  • fDate
    7/1/2003 12:00:00 AM
  • Firstpage
    634
  • Lastpage
    648
  • Abstract
    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.
  • Keywords
    finite state machines; formal specification; program debugging; program testing; program verification; event-based debugging; lightweight formal methods; log file; safety verification; software testing; state-machine-based formalism; test oracles; unit testing; Automatic testing; Failure analysis; Humans; Inspection; Performance analysis; Real time systems; Software safety; Software testing; System testing; Writing;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2003.1214327
  • Filename
    1214327