2012 · 12 citations · 26 references
ComputingComputer EngineeringComputer ScienceDesign AutomationFormal MethodsSoftware EngineeringDesign For TestabilitySoftware TestingAutomated Test GenerationCoverage CriteriaGraphical User InterfacesInvariantsSpecification MiningTest CoverageTest Coverage AnalysisTest Generation
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.
26
Automatic generation of software behavioral models
Davide Lorenzoli, Leonardo Mariani, Mauro Pezzè · 2008 · 414 citations
Jinlin Yang, David Evans, Deepali Bhardwaj et al. · 2006 · 406 citations
Constructing test suites for interaction testing
Myra B. Cohen, Peter B. Gibbons, W.B. Mugridge et al. · 2003 · 311 citations
Quickly detecting relevant program invariants
Michael D. Enst, Adam Czeisler, William G. Griswold et al. · 2000 · 256 citations · Full text