skip to main content
10.1145/3422392.3422511acmotherconferencesArticle/Chapter ViewAbstractPublication PagessbesConference Proceedingsconference-collections
short-paper

ENVIAR: ENVIronment dAta simulatoR

Published:21 December 2020Publication History

ABSTRACT

Context-aware applications (CAAs) sense and react to changes from the environment when performing their tasks. Testing such applications is challenging. Firstly, due to the number of combinations of possible events and values they can handle. Secondly, due to the different execution scenarios that may be hard to reproduce manually. We present the ENVIAR tool whose objective is to support test case generation and execution of Android CAAs. Generation combines a set of events that may trigger failure in such applications filtered by pairwise testing. Execution simulates the environment in which the CAA runs by sending mock data. Current version focus on Android events, GPS, and Internet sensor events and values. Empirical results have shown that the tool can generate test cases that detect context defects in real Android applications, particularly covering scenarios that would be tricky to run in a real environment.

References

  1. Accessed: 2019. Genius Maps: Offline GPS Navigator. https://play.google.com/store/apps/details?id=hr.mireo.arthurGoogle ScholarGoogle Scholar
  2. Accessed: 2019. GPS Offline Navigation Route Maps & Directions. https://play.google.com/store/apps/details?id=com.offline.routemaps.gps.directionfinder.freerGoogle ScholarGoogle Scholar
  3. Accessed: 2019. OsmAnd. https://play.google.com/store/apps/details?id=net.osmandGoogle ScholarGoogle Scholar
  4. Accessed: 2019. Voice GPS Navigation: Live Driving Direction. https://play.google.com/store/apps/details?id=com.voicenavigation.gps.driving.directionsGoogle ScholarGoogle Scholar
  5. Accessed: 2019-09-05. GitHub. https://github.comGoogle ScholarGoogle Scholar
  6. Accessed: 2019-09-09. Android Debug Bridge. https://developer.android.com/studio/command-line/adb.htmlGoogle ScholarGoogle Scholar
  7. Accessed: 2019-09-23. Pairwise Independent Combinatorial Tool (PICT). https://github.com/microsoft/pictGoogle ScholarGoogle Scholar
  8. Accessed: 2020. Google Maps. https://www.google.com/mapsGoogle ScholarGoogle Scholar
  9. Accessed: 2020-01-15. Microsoft Home Page. https://www.microsoft.comGoogle ScholarGoogle Scholar
  10. Accessed: 2020-02-01. Android Emulator. https://developer.android.com/studio/run/emulatorGoogle ScholarGoogle Scholar
  11. Accessed: 2020-08-24. ENVIronment dAta simulatoR (ENVIAR). https://github.com/diegotabira/ENVIARGoogle ScholarGoogle Scholar
  12. D. R. Almeida, P. D. L. Machado, and W. L. Andrade. 2020. Context-Aware Android Applications Testing. In 34th Brazilian Symposium on Software Engineering (CBSoft/SBES 2020). To be published.Google ScholarGoogle Scholar
  13. D. Amalfitano, A. R. Fasolino, P. Tramontana, and N. Amatucci. 2013. Considering Context Events in Event-Based Testing of Mobile Applications. In 2013 IEEE Sixth International Conference on Software Testing, Verification and Validation Workshops. 126--133. https://doi.org/10.1109/ICSTW.2013.22Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. D. Amalfitano, A. R. Fasolino, P. Tramontana, S. De Carmine, and G. Imparato. 2012. A toolset for GUI testing of Android applications. In 2012 28th IEEE International Conference on Software Maintenance (ICSM). 650--653. https://doi.org/10.1109/ICSM.2012.6405345Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. A. S. Ami, Md. M. Hasan, Md. R. Rahman, and K. Sakib. 2018. Mobicomonkey: Context Testing of Android Apps. In Proceedings of the 5th International Conference on Mobile Software Engineering and Systems (Gothenburg, Sweden) (MOBILESoft '18). ACM, New York, NY, USA, 76--79. https://doi.org/10.1145/3197231.3197234Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. R. Black. 2007. Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional. John Wiley & Sons, Inc., New York, NY, USA.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Y. Hu and I. Neamtiu. 2016. VALERA: An Effective and Efficient Record-andreplay Tool for Android. In Proceedings of the International Conference on Mobile Software Engineering and Systems (Austin, Texas) (MOBILESoft '16). ACM, New York, NY, USA, 285--286. https://doi.org/10.1145/2897073.2897712Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. C. Luo, J. Goncalves, E. Velloso, and V. Kostakos. 2020. A Survey of Context Simulation for Testing Mobile Context-Aware Applications. ACM Comput. Surv. 53, 1, Article 21 (Feb. 2020), 39 pages. https://doi.org/10.1145/3372788Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. S. Matalonga, F. Rodrigues, and G. H. Travassos. 2015. Matching Context Aware Software Testing Design Techniques to ISO/IEC/IEEE 29119. In Software Process Improvement and Capability Determination, Terry Rout, Rory V. O'Connor, and Alec Dorling (Eds.). Springer International Publishing, Cham, 33--44.Google ScholarGoogle Scholar
  20. H. Muccini, A. Di Francesco, and P. Esposito. 2012. Software Testing of Mobile Applications: Challenges and Future Research Directions. In Proceedings of the 7th International Workshop on Automation of Software Test (Zurich, Switzerland) (AST '12). IEEE Press, Piscataway, NJ, USA, 29--35. http://dl.acm.org/citation.cfm?id=2663608.2663615Google ScholarGoogle Scholar
  21. V. Vieira, K. Holl, and M. Hassel. 2015. A Context Simulator As Testing Support for Mobile Apps. In Proceedings of the 30th Annual ACM Symposium on Applied Computing (Salamanca, Spain) (SAC '15). ACM, New York, NY, USA, 535--541. https://doi.org/10.1145/2695664.2695782Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. ENVIAR: ENVIronment dAta simulatoR

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      SBES '20: Proceedings of the XXXIV Brazilian Symposium on Software Engineering
      October 2020
      901 pages
      ISBN:9781450387538
      DOI:10.1145/3422392

      Copyright © 2020 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 21 December 2020

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • short-paper
      • Research
      • Refereed limited

      Acceptance Rates

      Overall Acceptance Rate147of427submissions,34%
    • Article Metrics

      • Downloads (Last 12 months)2
      • Downloads (Last 6 weeks)0

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader