Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3422392.3422511acmotherconferencesArticle/Chapter ViewAbstractPublication PagessbesConference Proceedingsconference-collections
short-paper

ENVIAR: ENVIronment dAta simulatoR

Published: 21 December 2020 Publication History
  • Get Citation Alerts
  • 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.arthur
    [2]
    Accessed: 2019. GPS Offline Navigation Route Maps & Directions. https://play.google.com/store/apps/details?id=com.offline.routemaps.gps.directionfinder.freer
    [3]
    Accessed: 2019. OsmAnd. https://play.google.com/store/apps/details?id=net.osmand
    [4]
    Accessed: 2019. Voice GPS Navigation: Live Driving Direction. https://play.google.com/store/apps/details?id=com.voicenavigation.gps.driving.directions
    [5]
    Accessed: 2019-09-05. GitHub. https://github.com
    [6]
    Accessed: 2019-09-09. Android Debug Bridge. https://developer.android.com/studio/command-line/adb.html
    [7]
    Accessed: 2019-09-23. Pairwise Independent Combinatorial Tool (PICT). https://github.com/microsoft/pict
    [8]
    Accessed: 2020. Google Maps. https://www.google.com/maps
    [9]
    Accessed: 2020-01-15. Microsoft Home Page. https://www.microsoft.com
    [10]
    Accessed: 2020-02-01. Android Emulator. https://developer.android.com/studio/run/emulator
    [11]
    Accessed: 2020-08-24. ENVIronment dAta simulatoR (ENVIAR). https://github.com/diegotabira/ENVIAR
    [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.
    [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.22
    [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.6405345
    [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.3197234
    [16]
    R. Black. 2007. Pragmatic Software Testing: Becoming an Effective and Efficient Test Professional. John Wiley & Sons, Inc., New York, NY, USA.
    [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.2897712
    [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/3372788
    [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.
    [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.2663615
    [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.2695782

    Recommendations

    Comments

    Information & Contributors

    Information

    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
    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]

    In-Cooperation

    • SBC: Brazilian Computer Society

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 21 December 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. Android
    2. Context-aware application
    3. Testing automation

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Funding Sources

    • Conselho Nacional de Desenvolvimento Científico e Tecnológico

    Conference

    SBES '20

    Acceptance Rates

    Overall Acceptance Rate 147 of 427 submissions, 34%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 32
      Total Downloads
    • Downloads (Last 12 months)3
    • Downloads (Last 6 weeks)1
    Reflects downloads up to 09 Aug 2024

    Other Metrics

    Citations

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media