Abstract
Context-aware mobile apps provide adaptive services that depend on the changing environments. The challenge in testing context-aware mobile apps holds in that these apps adapt their behavior when context conditions are changing. According to an exhaustive survey of the testing context-aware mobile apps research area, current testing approaches take into consideration the apps functions and different contexts but do not consider testing coverage criteria nor evaluate the coverage of various situations. Our work is intended to fill this gap. In our previous research work, we presented a test model for context-aware mobile apps dealing with changing location context based on the combination of a Bigraph Reaction System and a Dynamic Feature Petri Net. In this paper, we propose a new test criterion for context-aware mobile apps. This criterion results from the combination of pattern-flow-based coverage criteria and boundary-based coverage criteria. With this criterion, we select the user’s location coordinates inside partition boundaries, which help narrowing the input data space and cover all test situations in test process.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Nguyen, T.B., Le, T.T.B., Aktouf, O., Parissis, I.: Mobile applications testing based on Bigraphs and Dynamic feature Petri nets. In: Nguyen, N.T., Dao, N.N., Pham, Q.D., Le, H.A. (eds.) Intelligence of Things: Technologies and Applications 2022, vol. 148, pp. 215–225. Springer, Heidelberg (2022)
Yu, L., Tsai, W.-T., Perrone, G.: Testing context-aware applications based on bigraphical modeling. IEEE Trans. Reliab. 65, 1584–1611 (2016)
Siqueira, B.R., Ferrari, F.C., Souza, K.E., Camargo, V.V., Lemos, R.J.S.T.: Testing of adaptive and context-aware systems: approaches and challenges. Verification and Reliability 1772, 1–46 (2021)
Ammann, P., Offutt, J., Huang, H.: Coverage criteria for logical expressions. In: 14th International Symposium on Software Reliability Engineering, pp. 99–107 (2003)
Muschevici, R., Clarke, D., Proenca, J.: Feature Petri nets. In: 14th International Conference, pp. 13–17. Jeju, Korea (2010)
Heng, L., Chan, W.K., Tse, T.H.: Testing context-aware middleware-centric programs: a data flow approach and an RFID-based experimentation. In: 14th International symposium on Foundations of software engineering, pp. 242–252 (2006)
Zhai, K., Jiang, B., Chan, W.K.: Prioritizing test cases for regression testing of location-based services: metrics, techniques, and case study. IEEE Trans. Serv. Comput. 7, 54–67 (2014)
Qun, R., Dunham, M.H.: Using semantic caching to manage location dependent data in mobile computing. In: 6th Annual International Conference on Mobile Computing and Networking, pp.210–222 (2000)
Zhang, T., Gao, J., Aktouf, O., Uehara, T.: Test Model and Coverage Analysis for Location-based Mobile Services, SEKE, pp. 80–86 (2015)
Kosmatov, N., Legeard, B., Peureux, F., Utting, M.: Boundary coverage criteria for test generation from formal models. In: 15th International Symposium on Software Reliability Engineering, pp. 139–150 (2004)
http://docs.oasisopen.org/wsbpel/2.0/CS01/wsbpel-v2.0-CS01.html. Accessed 2021/10/21
https://gkchronicle.com/world-geography/Locating-points-on-earths-surface.php. Accessed 2023/1/21
White, L.J., Cohen, E.I.: A domain strategy for computer program testing. IEEE Trans. Software Eng. 6, 247–257 (1980)
Beizer, B.: Software Testing Techniques. John Wiley & Sons, USA (1990)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Le, T.T.B., Aktouf, O.E.K., Parissis, I., Nguyen, T.B. (2023). Test Criteria for Context-Aware Mobile Applications. In: Nguyen, N.T., Le-Minh, H., Huynh, CP., Nguyen, QV. (eds) The 12th Conference on Information Technology and Its Applications. CITA 2023. Lecture Notes in Networks and Systems, vol 734. Springer, Cham. https://doi.org/10.1007/978-3-031-36886-8_33
Download citation
DOI: https://doi.org/10.1007/978-3-031-36886-8_33
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-36885-1
Online ISBN: 978-3-031-36886-8
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)