AppTestMigrator: A Tool for Automated Test Migration for Android Apps *

The use of mobile apps is increasingly widespread, and much effort is put into testing these apps to make sure they behave as intended. In this demo, we present AppTestMigrator, a technique and tool for migrating test cases between apps with similar functionality. The intuition behind AppTestMigrator is that many apps share similarities in their functionality, and these similarities often result in conceptually similar user interfaces (through which that functionality is accessed). AppTestMigrator attempts to automatically transform the sequence of events and oracles in a test case for an app (source app) to events and oracles for another app (target app). The results of our preliminary evaluation show the effectiveness of AppTestMigrator in migrating test cases between mobile apps with similar functionality.Video URL: https://youtu.be/WQnfEcwYqa4

[1]  吉田 則裕,et al.  Android Open Source Projectを対象としたパッチレビュー活動の調査 , 2012 .

[2]  Alessandro Orso,et al.  Automated test migration for mobile apps , 2018, ICSE.

[3]  Mihai Surdeanu,et al.  The Stanford CoreNLP Natural Language Processing Toolkit , 2014, ACL.

[4]  Yan Wang,et al.  Static Window Transition Graphs for Android (T) , 2015, 2015 30th IEEE/ACM International Conference on Automated Software Engineering (ASE).

[5]  Andreas Zeller,et al.  Transferring Tests Across Web Applications , 2018, ICWE.

[6]  Petr Sojka,et al.  Software Framework for Topic Modelling with Large Corpora , 2010 .

[7]  Steven Bird,et al.  NLTK: The Natural Language Toolkit , 2002, ACL 2006.

[8]  Andreas Zeller,et al.  Poster: Efficient GUI Test Generation by Learning from Tests of Other Apps , 2018, 2018 IEEE/ACM 40th International Conference on Software Engineering: Companion (ICSE-Companion).

[9]  Jeffrey Dean,et al.  Efficient Estimation of Word Representations in Vector Space , 2013, ICLR.

[10]  Alessandro Orso,et al.  Test Migration Between Mobile Apps with Similar Functionality , 2019, 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE).

[11]  Junfeng Yang,et al.  AppFlow: using machine learning to synthesize robust, reusable UI tests , 2018, ESEC/SIGSOFT FSE.

[12]  Leonardo Mariani,et al.  Augusto: Exploiting Popular Functionalities for the Generation of Semantic GUI Tests with Oracles , 2018, 2018 IEEE/ACM 40th International Conference on Software Engineering (ICSE).

[13]  Alessandro Orso,et al.  Test migration for efficient large-scale assessment of mobile app coding assignments , 2018, ISSTA.

[14]  Steven Bird,et al.  NLTK: The Natural Language Toolkit , 2002, ACL.

[15]  Reyhaneh Jabbarvand,et al.  Test Transfer Across Mobile Apps Through Semantic Mapping , 2019, 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE).

[16]  Yan Wang,et al.  Static window transition graphs for Android , 2018, Automated Software Engineering.

[17]  Xue Qin,et al.  TestMig: migrating GUI test cases from iOS to Android , 2019, ISSTA.