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.
- 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. Google ScholarDigital Library
- L. Apfelbaum and J. Doyle. Model Based Testing. In Software Quality Week Conference, 1997.Google Scholar
- 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. Google ScholarDigital Library
- 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. Google ScholarDigital Library
- S. Beydeda, M. Book, and V. Gruhn. Model-Driven Software Development. Springer London, Limited, 2005. Google ScholarDigital Library
- 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. Google ScholarDigital Library
- P. Brown, J. Bovey, and X. Chen. Context-aware applications: from the laboratory to the marketplace. Personal Communications, IEEE, 4(5): 58--64, 1997.Google ScholarCross Ref
- 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. Google ScholarDigital Library
- R. Heckel and M. Lohmann. Towards Model-Driven Testing. Electr. Notes Theor. Comput. Sci., 82(6), 2003.Google Scholar
- 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. Google ScholarDigital Library
- 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.Google ScholarCross Ref
- 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. Google ScholarDigital Library
- 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. Google ScholarDigital Library
- 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. Google ScholarDigital Library
- M. Sarma and R. Mall. System Testing using UML Models. Asian Test Symposium, 0: 155--158, 2007. Google ScholarDigital Library
- I. Satoh. A Testing Framework for Mobile Computing Software. IEEE Trans. Softw. Eng., 29(12): 1112--1121, 2003. Google ScholarDigital Library
- 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. Google ScholarDigital Library
- 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. Google ScholarDigital Library
- S. Weißleder. Test models and coverage criteria for automatic model-based test generation with UML state machines. PhD thesis, 2010.Google Scholar
Index Terms
- A model-based approach to test automation for context-aware mobile applications
Recommendations
General method for testing context aware applications
MUCS '09: Proceedings of the 6th international workshop on Managing ubiquitous communications and servicesContext aware applications are starting to be utilized more to build autonomic systems. Therefore, it is not only necessary to know how to build them but, once built, also how to test them. There are several agreed architectures on engineering these ...
Multi-layer faults in the architectures of mobile, context-aware adaptive applications: a position paper
SAM '08: Proceedings of the 1st international workshop on Software architectures and mobilityFive cellphones are sold every second, and there are four times more cellphones than computers, meaning there are some billions of mobile handheld devices in existence. Modern cellphones are equipped with multiple context sensors used by increasingly ...
Comments