Username   Password       Forgot your password?  Forgot your username? 

 

Equivalent Version Sets Testing Method for Android Applications based on Code Analysis

Volume 15, Number 7, July 2019, pp. 2008-2018
DOI: 10.23940/ijpe.19.07.p28.20082018

Song Huang, Sen Yang, Yongming Yao, and Lele Chen

Command and Control Engineering College, Army Engineering University of PLA, Nanjing, 210007, China

 

(Submitted on May 21, 2019; Revised on June 27, 2019; Accepted on July 20, 2019)

Abstract:

The Android system is an open source mobile operating system that has been released in numerous versions. Android fragmentation is becoming more and more serious. This paper shows how different Android runtime environments affect test coverage results. To address this limitation, we run apps on all Android versions to collect coverage rate and also present an algorithm to generate equivalent test runtime-environment-set to exercise mobile apps. Our approach is to systematically test the targeted code of Android apps based on code analysis. It analyzes the decompiled code that identifies the code related to the Android SDK version and then generates the corresponding test cases. An empirical study of the practical usefulness of the technique is presented for six widely-used industrial apps. The test result shows that our equivalence test runtime-environment-set only requires less than half of all versions, which dramatically reduces the test resources. Moreover, the method coverage of these applications increased by an average of 49.3% on all versions and 46.8% on equivalent test runtime-environment-set, respectively.

 

References: 17

  1. S. Anand, M. Naik, M. J. Harrold, and H. Yang, “Automated Concolic Testing of Smartphone Apps,” in Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering, pp. 1-11, ACM, Cary, North Carolina, 2012
  2. W. Y. Wang, D. F. Li, W. Yang, Y. R. Cao, Z. W. Zhang, Y. T. Deng, et al., “An Empirical Study of Android Test Generation Tools in Industrial Cases,” in Proceedings of the 33rd ACM/IEEE International Conference, 2018
  3. “The Monkey UI android Testing Tool,” (http://developer.android.com/tools/help/monkey.html)
  4. H. Zheng, D. Li, B. Liang, X. Zeng, W. Zheng, Y. Deng, et al., “Automated Test Input Generation for Android: Towards Getting There in an Industrial Case,” in Proceedings of IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice Track, 2017
  5. K. Mao, M. Harman, and Y. Jia, “Sapienz: Multi-Objective Automated Testing for Android Applications,” in Proceedings of International Symposium on Software Testing and Analysis, pp. 94-105, 2016
  6. K. Mao, M. Harman, and Y. Jia, “Crowd Intelligence Enhances Automated Mobile Testing,” in Proceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering, IEEE Press, Piscataway, NJ, USA, 2017
  7. T. Azim and I. Neamtiu, “Targeted and Depth-First Exploration for Systematic Testing of Android Apps,” in Proceedings of the 2013 ACM SIGPLAN International Conference on Object Oriented Programming Systems Languages & Applications, pp. 641-660, New York, NY, USA, 2013
  8. T. Su, G. Meng, Y. Chen, K. Wu, W. Yang, Y. Yao, et al., “Guided, Stochastic Model-based GUI Testing of Android Apps,” in Proceedings of Symposium on the Foundations of Software Engineering, pp. 245-256, 2017
  9. E. Kowalczyk, M. B. Cohen, and A. M. Memon, “Configurations in Android Testing: They Matter,” in Proceedings of the 1st International Workshop on Advances in Mobile App Analysis, New York, NY, USA, 2018
  10. A. Pilgun, O. Gadyatskaya, S. Dashevskyi, Y. Zhauniarovich, and A. Kushniarou, “Fine-Grained Code Coverage Measurement in Automated Black-box Android Testing,” 2018
  11. V. Roubtsov, EMMA, Retrieved 2017-2-18 from http://emma.sourceforge.net/, 2017
  12. A. Machiry, R. Tahiliani, and M. Naik, “Dynodroid: An Input Generation System for Android Apps,” in Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering, pp. 224-234, New York, NY, USA, 2013
  13. R. Mahmood, N. Mirzaei, and S. Malek, “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
  14. H. van der Merwe, B. van der Merwe, and W. Visser, “Execution and Property Specifications for JPF-android,” ACM SIGSOFT Software Engineering Notes, Vol. 39, No. 1, pp. 1-5, February 2014
  15. D. Amalfitano, A. R. Fasolino, P. Tramontana, S. De Carmine, and A. M. Memon, “Using GUI Ripping for Automated Testing of Android Applications,” in Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering, 2012
  16. W. Yang, M. R. Prasad, and T. Xie, “A Grey-Box Approach for Automated GUI-Model Generation of Mobile Applications,” Fundamental Approaches to Software Engineering, pp. 250-265, Springer Berlin Heidelberg, 2013
  17. W. Choi, G. Necula, K. Sen, “Guided GUI Testing of Android Apps with Minimal Restart and Approximate Learning,” ACM Sigplan Notices, Vol. 48, No. 10, pp. 623-640, 2013

 

Please note : You will need Adobe Acrobat viewer to view the full articles.Get Free Adobe Reader

 
This site uses encryption for transmitting your passwords. ratmilwebsolutions.com