DOI QR코드

DOI QR Code

A Test Case Generation Method Based on Activity for Android Application Testing

안드로이드 애플리케이션을 테스트하기 위한 액티비티 기반의 테스트 케이스 생성 방법

  • 고민혁 (충남대학교 컴퓨터공학과) ;
  • 서용진 (충남대학교 컴퓨터공학과) ;
  • 윤상필 (충남대학교 컴퓨터공학과) ;
  • 김현수 (충남대학교 컴퓨터공학과)
  • Received : 2013.05.14
  • Accepted : 2013.07.18
  • Published : 2013.10.31

Abstract

Smartphones have features that users feel free to install/delete the program they want. Their emergence makes many developers rush into the Smartphone application development market. Thus, developing good applications quickly is becoming even more intense competition in the market. Because, however, the application development and deployment procedures are simple in the Android environments and anyone can participate in the development easily, applications not validated thoroughly are likely to be deployed. Therefore, a systematic approach that can verify Android-based applications with fewer burdens is required. In this paper, we propose a method that generates automatically GUI-based testing scenarios for the Android applications. The automated test scenario generation can reduce the time which the developer spends on testing, thus it can improve the productivity of the development in the testing phase.

사용자가 원하는 프로그램을 자유롭게 설치/삭제 할 수 있는 특징을 가진 스마트폰의 등장으로 인해, 수많은 개발자들이 스마트폰 애플리케이션 개발 시장에 뛰어들면서 좋은 애플리케이션을 빨리 개발하려는 경쟁이 더욱 치열해지고 있다. 그러나 안드로이드 환경은 애플리케이션 개발 및 배포 절차가 간단하여 누구나 쉽게 개발에 참여할 수 있어서 충분히 검증되지 않은 애플리케이션들이 배포될 가능성이 높다. 따라서 적은 부담으로 안드로이드 기반의 애플리케이션을 검증할 수 있는 체계적인 방법이 필요하다. 이에 본 논문에서는 안드로이드 애플리케이션을 위한 GUI 기반의 테스트 시나리오 자동 생성 방법을 제시한다. 자동화된 테스트 시나리오 생성을 통해 테스트에 소요되는 시간을 줄임으로써 테스트 단계에서의 생산성을 향상시킬 수 있다.

Keywords

References

  1. Gartner, "Gartner Says Worldwide Smartphone Sales Soared in Fourth Quarter of 2011 With 47 Percent Growth", http:// www.gartner.com/it/page.jsp?id=1924314, February, 2012.
  2. S. Yoon, Y. Seo, M. Ko, and H. S. Kim, "Design of Test Cases and Automatic Generation of the Test Code for UI Unit Test of an Android Application", Proc. of the KIISE Korea Computer Congress, Vol.39, No.1(B), pp.129-131, 2012.
  3. J. H. Kim, "Android and Android Market", Journal of Contents Association, Vol.7, No.2, pp.29-36, 2009.
  4. S. M. Hwang, J. J. Kim, "A GUI Testing Method base on Scenario for Mobile Application Software", Journal of the Korea Academia-Industrial cooperation Society, Vol.9, No.3, pp.681-689, 2008. https://doi.org/10.5762/KAIS.2008.9.3.681
  5. S. Yoon, M. Ko, S. Kuk, H. S. Kim, "An automatic generation of test cases and test drivers for Android application's GUI testing", Proc. of the KIISE Fall Conference 2011, Vol.38, No.2(B), pp.112-115, 2011.
  6. J. G. Lee, S. Kuk, and H. S. Kim, "Test Cases Generation Method for GUI Testing with Automatic Scenario Generation," Journal of KIISE: Software and Applications, Vol.36, No.1, pp.45-53. 2009. (in Korean)
  7. T. Takala, M. Kataka, "Experiences of System-Level Model-Based GUI-Testing of an Android Application", 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation(ICST), pp.377-386, 2011.
  8. R. Bareiss, T. Sedano, "Improving Mobile Application Development," MSE workshop of MobiCASE 2011.
  9. D. Amalfitano, A. R. Fasolino, P. Tranmontana, "A GUI Crawling-based technique for Android Mobile Application Testing", 2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Work shops(ICSTW), pp.252-261, 2011.
  10. C. Hu, I. Neamtiu, "Automating GUI Testing for Android Applications", in Proc. Of the sixth International Workshop on Automation of Software Test, pp.77-83, 2011.
  11. Google, "http://developer.android.com/tools/testing/acti vity_testing.html"
  12. M. Ko, "GUI based Automatic Test Scenario Generation for Testing Android Application", Master's degree thesis. Chungnam National University, 2013.
  13. L. Zhao, K. Y. Cai, "Event Handler-Based Coverage for GUI Testing," in Proc. of 10th Int'l Conference on Quality Software, pp.326-331, 2010.
  14. Aditya P. Mathur, "Foundations of Software Testing", 1st ed., Addison-Wesley Professional, 2008.