Skip to main content
Top

2019 | OriginalPaper | Chapter

An Empirical Evaluation of Search Algorithms for App Testing

Authors : Leon Sell, Michael Auer, Christoph Frädrich, Michael Gruber, Philemon Werli, Gordon Fraser

Published in: Testing Software and Systems

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Automated testing techniques can effectively explore mobile applications in order to find faults that manifest as program crashes. A number of different techniques for automatically testing apps have been proposed and empirically compared, but previous studies focused on comparing different tools, rather than techniques. Although these studies have shown search-based approaches to be effective, it remains unclear whether superior performance of one tool compared to another is due to fundamental advantages of the underlying search technique, or due to certain engineering choices made during the implementation of the tools. In order to provide a better understanding of app testing as a search problem, we empirically study different search algorithms within the same app testing framework. Experiments on a selection of 10 non-trivial apps reveal that the costs of fitness evaluations are inhibitive, and prevent the choice of algorithm from having a major effect.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Amalfitano, D., Amatucci, N., Fasolino, A.R., Tramontana, P.: Agrippin: a novel search based testing technique for Android applications. In: Proceedings of the 3rd International Workshop on Software Development Lifecycle for Mobile, pp. 5–12. ACM (2015) Amalfitano, D., Amatucci, N., Fasolino, A.R., Tramontana, P.: Agrippin: a novel search based testing technique for Android applications. In: Proceedings of the 3rd International Workshop on Software Development Lifecycle for Mobile, pp. 5–12. ACM (2015)
2.
go back to reference Amalfitano, D., Fasolino, A.R., Tramontana, P., De Carmine, S., Memon, A.M.: Using GUI ripping for automated testing of Android applications. In: Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering, pp. 258–261 (2012) Amalfitano, D., Fasolino, A.R., Tramontana, P., De Carmine, S., Memon, A.M.: Using GUI ripping for automated testing of Android applications. In: Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering, pp. 258–261 (2012)
3.
go back to reference Arcuri, A.: Test suite generation with the many independent objective (MIO) algorithm. Inf. Softw. Technol. 104, 195–206 (2018)CrossRef Arcuri, A.: Test suite generation with the many independent objective (MIO) algorithm. Inf. Softw. Technol. 104, 195–206 (2018)CrossRef
8.
go back to reference Eler, M.M., Rojas, J.M., Ge, Y., Fraser, G.: Automated accessibility testing of mobile apps. In: 2018 IEEE 11th International Conference on Software Testing, Verification and Validation (ICST), pp. 116–126 (2018) Eler, M.M., Rojas, J.M., Ge, Y., Fraser, G.: Automated accessibility testing of mobile apps. In: 2018 IEEE 11th International Conference on Software Testing, Verification and Validation (ICST), pp. 116–126 (2018)
9.
go back to reference Fraser, G., Arcuri, A.: Whole test suite generation. IEEE Trans. Softw. Eng. 39(2), 276–291 (2013)CrossRef Fraser, G., Arcuri, A.: Whole test suite generation. IEEE Trans. Softw. Eng. 39(2), 276–291 (2013)CrossRef
10.
go back to reference Machiry, A., Tahiliani, R., Naik, M.: Dynodroid: an input generation system for android apps. In: Proceedings of the 9th Joint Meeting on Foundations of Software Engineering, ESEC/FSE, pp. 224–234. ACM (2013) Machiry, A., Tahiliani, R., Naik, M.: Dynodroid: an input generation system for android apps. In: Proceedings of the 9th Joint Meeting on Foundations of Software Engineering, ESEC/FSE, pp. 224–234. ACM (2013)
11.
go back to reference Mahmood, R., Mirzaei, N., Malek, S.: Evodroid: segmented evolutionary testing of Android apps. In: Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 599–609 (2014) Mahmood, R., Mirzaei, N., Malek, S.: Evodroid: segmented evolutionary testing of Android apps. In: Proceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering, pp. 599–609 (2014)
12.
go back to reference Mao, K., Harman, M., Jia, Y.: Sapienz: multi-objective automated testing for android applications. In: Proceedings of the 25th International Symposium on Software Testing and Analysis, ISSTA, pp. 94–105. ACM (2016) Mao, K., Harman, M., Jia, Y.: Sapienz: multi-objective automated testing for android applications. In: Proceedings of the 25th International Symposium on Software Testing and Analysis, ISSTA, pp. 94–105. ACM (2016)
13.
go back to reference Panichella, A., Kifetew, F.M., Tonella, P.: Reformulating branch coverage as a many-objective optimization problem. In: 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), pp. 1–10 (2015) Panichella, A., Kifetew, F.M., Tonella, P.: Reformulating branch coverage as a many-objective optimization problem. In: 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), pp. 1–10 (2015)
14.
go back to reference Rohella, A., Takada, S.: Testing Android applications using multi-objective evolutionary algorithms with a stopping criteria. In: 30th International Conference on Software Engineering and Knowledge Engineering, SEKE 2018, pp. 308–313. Knowledge Systems Institute Graduate School (2018) Rohella, A., Takada, S.: Testing Android applications using multi-objective evolutionary algorithms with a stopping criteria. In: 30th International Conference on Software Engineering and Knowledge Engineering, SEKE 2018, pp. 308–313. Knowledge Systems Institute Graduate School (2018)
15.
go back to reference Roy Choudhary, S., Gorla, A., Orso, A.: Automated test input generation for Android: Are we there yet? (e). In: Proceedings of the IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 429–440 (2015) Roy Choudhary, S., Gorla, A., Orso, A.: Automated test input generation for Android: Are we there yet? (e). In: Proceedings of the IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 429–440 (2015)
16.
go back to reference Sasnauskas, R., Regehr, J.: Intent fuzzer: crafting intents of death. In: Proceedings of Joint International Workshop on Dynamic Analysis (WODA) and Software and System Performance Testing, Debugging, and Analytics (PERTEA), pp. 1–5 (2014) Sasnauskas, R., Regehr, J.: Intent fuzzer: crafting intents of death. In: Proceedings of Joint International Workshop on Dynamic Analysis (WODA) and Software and System Performance Testing, Debugging, and Analytics (PERTEA), pp. 1–5 (2014)
17.
go back to reference Su, T., et al.: Guided, stochastic model-based GUI testing of android apps. In: Proceedings of the 11th Joint Meeting on Foundations of Software Engineering, pp. 245–256 (2017) Su, T., et al.: Guided, stochastic model-based GUI testing of android apps. In: Proceedings of the 11th Joint Meeting on Foundations of Software Engineering, pp. 245–256 (2017)
18.
go back to reference Vogel, T., Tran, C., Grunske, L.: Does diversity improve the test suite generation for mobile applications? In: Proceedings of the 11th Symposium on Search-Based Software Engineering (SSBSE 2019). Springer, Heidelberg (2019, to appear)CrossRef Vogel, T., Tran, C., Grunske, L.: Does diversity improve the test suite generation for mobile applications? In: Proceedings of the 11th Symposium on Search-Based Software Engineering (SSBSE 2019). Springer, Heidelberg (2019, to appear)CrossRef
19.
go back to reference Wang, W., et al.: An empirical study of Android test generation tools in industrial cases. In: Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, pp. 738–748 (2018) Wang, W., et al.: An empirical study of Android test generation tools in industrial cases. In: Proceedings of the 33rd ACM/IEEE International Conference on Automated Software Engineering, pp. 738–748 (2018)
20.
go back to reference Zeng, X., et al.: Automated test input generation for Android: are we really there yet in an industrial case? In: SIGSOFT FSE (2016) Zeng, X., et al.: Automated test input generation for Android: are we really there yet in an industrial case? In: SIGSOFT FSE (2016)
Metadata
Title
An Empirical Evaluation of Search Algorithms for App Testing
Authors
Leon Sell
Michael Auer
Christoph Frädrich
Michael Gruber
Philemon Werli
Gordon Fraser
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-31280-0_8

Premium Partner