Title :
AutoInSpec: Using Missing Test Coverage to Improve Specifications in GUIs
Author :
Cohen, Morris B. ; Si Huang ; Memon, Atif M.
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of Nebraska-Lincoln, Lincoln, NE, USA
Abstract :
Developers of a software´s graphical user interface (GUI) often fail to document the interface specifications. Without these, models used for automated test generation and execution remain imperfect and incomplete. This leads to unexpected behavior that creates unrecoverable situations for test harnesses, and missed coverage. In this paper, we present AutoInSpec, a technique to infer an important class of specifications, temporal and state-based invariants between GUI events that have been incorrectly modeled. Unlike existing specification mining approaches that require full execution traces, or source code, and that mine all invariants, we simplify the problem. We guide AutoInSpec with coverage criteria and use a previously developed repair framework that builds coverage-adequate test suites, removing unexecutable sub-sequences from consideration. These failing sub-sequences are input to a logic-based inference engine, armed with known invariant templates, to obtain the missing specifications. We validate AutoInSpec on a set of well studied GUI applications.
Keywords :
data mining; formal specification; graphical user interfaces; inference mechanisms; program testing; AutoInSpec; GUI; automated test generation; interface specifications; logic-based inference engine; missing test coverage; software graphical user interface; specification mining; test harnesses; Color; Educational institutions; Engines; Genetic algorithms; Graphical user interfaces; Maintenance engineering; Testing; Covering Arrays; GUI Testing; Genetic Algorithm; Invariants; Specification Mining;
Conference_Titel :
Software Reliability Engineering (ISSRE), 2012 IEEE 23rd International Symposium on
Conference_Location :
Dallas, TX
Print_ISBN :
978-1-4673-4638-2
DOI :
10.1109/ISSRE.2012.33