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.

Mariani, L., Pezze, M., Terragni, V., Zuddas, D. (2021). An Evolutionary Approach to Adapt Tests across Mobile Apps. In Proceedings - 2021 IEEE/ACM International Conference on Automation of Software Test, AST 2021 (pp.70-79). Institute of Electrical and Electronics Engineers Inc. [10.1109/AST52587.2021.00016].

An Evolutionary Approach to Adapt Tests across Mobile Apps

Mariani L.;Pezze M.;
2021

Abstract

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.
paper
Android applications; GUI testing; search-based testing; test and oracle generation; test reuse;
English
2nd IEEE/ACM International Conference on Automation of Software Test, AST 2021 - 20 May 2021 through 21 May 2021
2021
Proceedings - 2021 IEEE/ACM International Conference on Automation of Software Test, AST 2021
9781665435673
2021
70
79
9463057
none
Mariani, L., Pezze, M., Terragni, V., Zuddas, D. (2021). An Evolutionary Approach to Adapt Tests across Mobile Apps. In Proceedings - 2021 IEEE/ACM International Conference on Automation of Software Test, AST 2021 (pp.70-79). Institute of Electrical and Electronics Engineers Inc. [10.1109/AST52587.2021.00016].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10281/395076
Citazioni
  • Scopus 11
  • ???jsp.display-item.citation.isi??? 7
Social impact