End-to-End Test Coverage Metrics in Microservice Systems: An Automated Approach
Abdelfattah, Amr S.; Cerny, Tomas; Salazar, Jorge Yero; Lehman, Austin; Hunter, Joshua; Bickham, Ashley; Taibi, Davide (2023-10-12)
Abdelfattah, Amr S.
Cerny, Tomas
Salazar, Jorge Yero
Lehman, Austin
Hunter, Joshua
Bickham, Ashley
Taibi, Davide
Springer
12.10.2023
Abdelfattah, A.S. et al. (2023). End-to-End Test Coverage Metrics in Microservice Systems: An Automated Approach. In: Papadopoulos, G.A., Rademacher, F., Soldani, J. (eds) Service-Oriented and Cloud Computing. ESOCC 2023. Lecture Notes in Computer Science, vol 14183. Springer, Cham. https://doi.org/10.1007/978-3-031-46235-1_3
https://rightsstatements.org/vocab/InC/1.0/
© 2023 IFIP International Federation for Information Processing
https://rightsstatements.org/vocab/InC/1.0/
© 2023 IFIP International Federation for Information Processing
https://rightsstatements.org/vocab/InC/1.0/
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:oulu-202403182284
https://urn.fi/URN:NBN:fi:oulu-202403182284
Tiivistelmä
Abstract
Microservice architecture gains momentum by fueling systems with cloud-native benefits, scalability, and decentralized evolution. However, new challenges emerge for end-to-end (E2E) testing. Testers who see the decentralized system through the user interface might assume their tests are comprehensive, covering all middleware endpoints scattered across microservices. However, they do not have instruments to verify such assumptions. This paper introduces test coverage metrics for evaluating the extent of E2E test suite coverage for microservice endpoints. Next, it presents an automated approach to compute these metrics to provide feedback on the completeness of E2E test suites. Furthermore, a visual perspective is provided to highlight test coverage across the system’s microservices to guide on gaps in test suites. We implement a proof-of-concept tool and perform a case study on a well-established system benchmark showing it can generate conclusive feedback on test suite coverage over system endpoints.
Microservice architecture gains momentum by fueling systems with cloud-native benefits, scalability, and decentralized evolution. However, new challenges emerge for end-to-end (E2E) testing. Testers who see the decentralized system through the user interface might assume their tests are comprehensive, covering all middleware endpoints scattered across microservices. However, they do not have instruments to verify such assumptions. This paper introduces test coverage metrics for evaluating the extent of E2E test suite coverage for microservice endpoints. Next, it presents an automated approach to compute these metrics to provide feedback on the completeness of E2E test suites. Furthermore, a visual perspective is provided to highlight test coverage across the system’s microservices to guide on gaps in test suites. We implement a proof-of-concept tool and perform a case study on a well-established system benchmark showing it can generate conclusive feedback on test suite coverage over system endpoints.
Kokoelmat
- Avoin saatavuus [38618]