Regression Testing and Conformance Testing Interactive Programs
Don E. Libes
Testing interactive programs, by its nature, requires interaction - usually by real people. Such testing is an expensive process and hence rarely done. Some interactive tools can be used non-interactively to a limited extent, and are often tested only this way. Purely interactive programs are rarely tested in any systematic way. This paper describes Expect, a tool for general testing of interactive line- and character- oriented interactive programs. Expect can also be used to automate standards conformance testing of the many interactive programs in, say, POSIX 1003.2. This, and other software engineering applications of Expect, are described in this paper.