Logo des Repositoriums
 
Konferenzbeitrag

Monkey See, Monkey Do: Effective Generation of GUI Tests with Inferred Macro Events

Lade...
Vorschaubild

Volltext URI

Dokumententyp

Text/Conference Paper

Zusatzinformation

Datum

2017

Zeitschriftentitel

ISSN der Zeitschrift

Bandtitel

Verlag

Gesellschaft für Informatik e.V.

Zusammenfassung

Automated testing is an important part of validating the behavior of software with com- plex graphical user interfaces, such as web, mobile, and desktop applications. Despite recent ad- vances in UI-level test generation, existing approaches often fail to create complex sequences of events that represent realistic user interactions. As a result, these approaches cannot reach particular parts of the application under test, which then remain untested. This paper presents a UI-level test generation approach that exploits execution traces of human users to automatically create complex sequences of events that go beyond the recorded traces. The key idea is to infer so-called macro events, i.e., sequences of low-level UI events that correspond to a single logical step of interaction, such as choosing an item of a drop-down menu or filling and submitting a form. The approach builds upon and adapts well-known data mining techniques, in particular frequent subsequence mining and inference of finite state machines. We implement the approach for client-side web applications and apply it to four real-world applications. Our results show that macro-based test generation reaches more pages, exercises more usage scenarios, and covers more code within a fixed testing budget than a purely random test generator.

Beschreibung

Ermuth, Markus; Pradel, Michael (2017): Monkey See, Monkey Do: Effective Generation of GUI Tests with Inferred Macro Events. Software Engineering 2017. Bonn: Gesellschaft für Informatik e.V.. PISSN: 1617-5468. ISBN: 978-3-88579-661-9. pp. 87. Testing. Hannover. 21.-24. Februar 2017

Schlagwörter

Zitierform

DOI

Tags