[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/2554850.2554942acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

A model-based approach to test automation for context-aware mobile applications

Published: 24 March 2014 Publication History

Abstract

Current testing tools for mobile applications do not provide sufficient support for context-aware application testing. In addition to regular input vectors (e.g. touch events, text entry) context parameters must be considered (e.g. accelerometer data interpreted as shake gestures, GPS location data, etc.). A multitude of possible application faults resulting from these additional context parameters requires an appropriately selected set of test cases. In this paper, we propose a model-based approach to improve the testing of context-aware mobile applications by deducing test cases from design-time system models. Using a custom-built version of the calabash-android testing framework enhanced by an arbitrary context parameter facility, our approach to test case generation and automated execution is validated on a context-aware mobile application.

References

[1]
G. D. Abowd, A. K. Dey, P. J. Brown, N. Davies, M. Smith, and P. Steggles. Towards a better understanding of context and context-awareness. In Proceedings of the 1st international symposium on Handheld and Ubiquitous Computing, HUC '99, pages 304--307, London, UK, UK, 1999. Springer.
[2]
L. Apfelbaum and J. Doyle. Model Based Testing. In Software Quality Week Conference, 1997.
[3]
Baker, Paul and Ru Dai, Zhen and Grabowski, Jens and Haugen, Oystein and Schieferdecker, Ina and Williams, Clay. Model Driven Testing - Using the UML Testing Profile. Springer--Verlag Berlin Heidelberg, 2008.
[4]
B. Bergvall-Kåreborn and S. Larsson. A case study of real-world testing. In MUM '08: Proceedings of the 7th International Conference on Mobile and Ubiquitous Multimedia, pages 113--116, New York, NY, USA, 2008. ACM.
[5]
S. Beydeda, M. Book, and V. Gruhn. Model-Driven Software Development. Springer London, Limited, 2005.
[6]
W. Broll, J. Ohlenburg, I. Lindt, I. Herbst, and A.-K. Braun. Meeting technology challenges of pervasive augmented reality games. In Proceedings of 5th ACM SIGCOMM Workshop on Network and System Support for Games, NetGames '06, New York, NY, USA, 2006. ACM.
[7]
P. Brown, J. Bovey, and X. Chen. Context-aware applications: from the laboratory to the marketplace. Personal Communications, IEEE, 4(5): 58--64, 1997.
[8]
M. Bylund and F. Espinoza. Using Quake III Arena to Simulate Sensors and Actuators When Evaluating and Testing Mobile Services. In CHI '01 Extended Abstracts on Human Factors in Comp. Systems, CHI '01, pages 241--242, New York, NY, USA, 2001. ACM.
[9]
R. Heckel and M. Lohmann. Towards Model-Driven Testing. Electr. Notes Theor. Comput. Sci., 82(6), 2003.
[10]
A. Heinecke, T. Brückmann, T. Griebe, and V. Gruhn. Generating Test Plans for Acceptance Tests from UML Activity Diagrams. In IEEE: Engineering of Computer-Based Systems (ECBS 2010). IEEE, 2010.
[11]
M. Jabbour, P. Bonnifait, and V. Cherfaoui. Enhanced local maps in a gis for a precise localisation in urban areas. In Intelligent Transportation Systems Conference, 2006. ITSC '06. IEEE, pages 468--473, September 2006.
[12]
H. Kim, S. Kang, J. Baik, and I. Ko. Test Cases Generation from UML Activity Diagrams. Software Engineering, Artificial Intelligence, Networking, and Parallel/Distributed Computing, ACIS International Conference on, 3: 556--561, 2007.
[13]
W. Linzhang, Y. Jiesong, Y. Xiaofeng, H. Jun, L. Xuandong, and Z. Guoliang. Generating Test Cases from UML Activity Diagram based on Gray-Box Method. Asia-Pacific Software Engineering Conference, 0: 284--291, 2004.
[14]
C. Mingsong, Q. Xiaokang, and L. Xuandong. Automatic Test Case Generation for UML Activity Diagrams. In AST '06: Proceedings of the 2006 International Workshop on Automation of Software Test, pages 2--8, New York, NY, USA, 2006. ACM.
[15]
M. Sarma and R. Mall. System Testing using UML Models. Asian Test Symposium, 0: 155--158, 2007.
[16]
I. Satoh. A Testing Framework for Mobile Computing Software. IEEE Trans. Softw. Eng., 29(12): 1112--1121, 2003.
[17]
B. Schilit, N. Adams, and R. Want. Context-aware computing applications. In Proceedings of the 1994 First Workshop on Mobile Computing Systems and Applications, WMCSA '94, pages 85--90, Washington, DC, USA, 1994. IEEE Computer Society.
[18]
S. Taranu and J. Tiemann. General Method for Testing Context Aware Applications. In MUCS '09: Proceedings of the 6th International Workshop on Managing Ubiquitous Communications and Services, pages 3--8, New York, NY, USA, 2009. ACM.
[19]
S. Weißleder. Test models and coverage criteria for automatic model-based test generation with UML state machines. PhD thesis, 2010.

Cited By

View all
  • (2024)Fast-Forward Reality: Authoring Error-Free Context-Aware Policies with Real-Time Unit Tests in Extended RealityProceedings of the 2024 CHI Conference on Human Factors in Computing Systems10.1145/3613904.3642158(1-17)Online publication date: 11-May-2024
  • (2022)Testing Context Aware Application and its Research Challenges2022 International Conference on Smart Technologies and Systems for Next Generation Computing (ICSTSN)10.1109/ICSTSN53084.2022.9761331(1-7)Online publication date: 25-Mar-2022
  • (2022)Mobile Applications Testing Based on Bigraphs and Dynamic Feature Petri NetsIntelligence of Things: Technologies and Applications10.1007/978-3-031-15063-0_20(215-225)Online publication date: 23-Aug-2022
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
SAC '14: Proceedings of the 29th Annual ACM Symposium on Applied Computing
March 2014
1890 pages
ISBN:9781450324694
DOI:10.1145/2554850
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 24 March 2014

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. context-awareness
  2. mobile
  3. model-based
  4. testing

Qualifiers

  • Research-article

Conference

SAC 2014
Sponsor:
SAC 2014: Symposium on Applied Computing
March 24 - 28, 2014
Gyeongju, Republic of Korea

Acceptance Rates

SAC '14 Paper Acceptance Rate 218 of 939 submissions, 23%;
Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

Upcoming Conference

SAC '25
The 40th ACM/SIGAPP Symposium on Applied Computing
March 31 - April 4, 2025
Catania , Italy

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)9
  • Downloads (Last 6 weeks)1
Reflects downloads up to 30 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Fast-Forward Reality: Authoring Error-Free Context-Aware Policies with Real-Time Unit Tests in Extended RealityProceedings of the 2024 CHI Conference on Human Factors in Computing Systems10.1145/3613904.3642158(1-17)Online publication date: 11-May-2024
  • (2022)Testing Context Aware Application and its Research Challenges2022 International Conference on Smart Technologies and Systems for Next Generation Computing (ICSTSN)10.1109/ICSTSN53084.2022.9761331(1-7)Online publication date: 25-Mar-2022
  • (2022)Mobile Applications Testing Based on Bigraphs and Dynamic Feature Petri NetsIntelligence of Things: Technologies and Applications10.1007/978-3-031-15063-0_20(215-225)Online publication date: 23-Aug-2022
  • (2021)ContextDrive: Towards a Functional Scenario-Based Testing Framework for Context-Aware ApplicationsIEEE Access10.1109/ACCESS.2021.30848879(80478-80490)Online publication date: 2021
  • (2021)Testing of adaptive and context‐aware systems: approaches and challengesSoftware Testing, Verification and Reliability10.1002/stvr.177231:7Online publication date: 3-May-2021
  • (2020)Context-Aware Android Applications TestingProceedings of the XXXIV Brazilian Symposium on Software Engineering10.1145/3422392.3422405(283-292)Online publication date: 21-Oct-2020
  • (2020)A Survey of Context Simulation for Testing Mobile Context-Aware ApplicationsACM Computing Surveys10.1145/337278853:1(1-39)Online publication date: 6-Feb-2020
  • (2020)A Test Case Design Method for Context Aware Android Applications2020 25th International Computer Conference, Computer Society of Iran (CSICC)10.1109/CSICC49403.2020.9050065(1-8)Online publication date: Jan-2020
  • (2019)Testing tools for Android context-aware applications: a systematic mappingJournal of the Brazilian Computer Society10.1186/s13173-019-0093-725:1Online publication date: 1-Dec-2019
  • (2019)Automated Testing of Android Apps: A Systematic Literature ReviewIEEE Transactions on Reliability10.1109/TR.2018.286573368:1(45-66)Online publication date: Mar-2019
  • Show More Cited By

View Options

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