Test Criteria for Context-Aware Mobile Applications

  • Conference paper
  • First Online:
The 12th Conference on Information Technology and Its Applications (CITA 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 734))

Included in the following conference series:

  • 215 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 139.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 179.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. 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)

    Chapter  Google Scholar 

  2. Yu, L., Tsai, W.-T., Perrone, G.: Testing context-aware applications based on bigraphical modeling. IEEE Trans. Reliab. 65, 1584–1611 (2016)

    Article  Google Scholar 

  3. 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)

    Google Scholar 

  4. Ammann, P., Offutt, J., Huang, H.: Coverage criteria for logical expressions. In: 14th International Symposium on Software Reliability Engineering, pp. 99–107 (2003)

    Google Scholar 

  5. Muschevici, R., Clarke, D., Proenca, J.: Feature Petri nets. In: 14th International Conference, pp. 13–17. Jeju, Korea (2010)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Article  Google Scholar 

  8. 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)

    Google Scholar 

  9. Zhang, T., Gao, J., Aktouf, O., Uehara, T.: Test Model and Coverage Analysis for Location-based Mobile Services, SEKE, pp. 80–86 (2015)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. http://docs.oasisopen.org/wsbpel/2.0/CS01/wsbpel-v2.0-CS01.html. Accessed 2021/10/21

  12. https://gkchronicle.com/world-geography/Locating-points-on-earths-surface.php. Accessed 2023/1/21

  13. White, L.J., Cohen, E.I.: A domain strategy for computer program testing. IEEE Trans. Software Eng. 6, 247–257 (1980)

    Article  MATH  Google Scholar 

  14. Beizer, B.: Software Testing Techniques. John Wiley & Sons, USA (1990)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Thi Thanh Binh Le .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics

Navigation