An Evolutionary Approach to Adapt Tests Across Mobile Apps

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Mariani, Leonardo, Pezzè, Mauro, Terragni, Valerio, Zuddas, Daniele
Format: Preprint
Publié: 2021
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866912810308468736
author Mariani, Leonardo
Pezzè, Mauro
Terragni, Valerio
Zuddas, Daniele
author_facet Mariani, Leonardo
Pezzè, Mauro
Terragni, Valerio
Zuddas, Daniele
contents Automatic generators of GUI tests often fail to generate semantically relevant test cases, and thus miss important test scenarios. To address this issue, test adaptation techniques can be used to automatically generate semantically meaningful GUI tests from test cases of applications with similar functionalities. In this paper, we present ADAPTDROID, a technique that approaches the test adaptation problem as a search-problem, and uses evolutionary testing to adapt GUI tests (including oracles) across similar Android apps. In our evaluation with 32 popular Android apps, ADAPTDROID successfully adapted semantically relevant test cases in 11 out of 20 cross-app adaptation scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2104_05233
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle An Evolutionary Approach to Adapt Tests Across Mobile Apps
Mariani, Leonardo
Pezzè, Mauro
Terragni, Valerio
Zuddas, Daniele
Software Engineering
Automatic generators of GUI tests often fail to generate semantically relevant test cases, and thus miss important test scenarios. To address this issue, test adaptation techniques can be used to automatically generate semantically meaningful GUI tests from test cases of applications with similar functionalities. In this paper, we present ADAPTDROID, a technique that approaches the test adaptation problem as a search-problem, and uses evolutionary testing to adapt GUI tests (including oracles) across similar Android apps. In our evaluation with 32 popular Android apps, ADAPTDROID successfully adapted semantically relevant test cases in 11 out of 20 cross-app adaptation scenarios.
title An Evolutionary Approach to Adapt Tests Across Mobile Apps
topic Software Engineering
url https://arxiv.org/abs/2104.05233