Skip to main navigation Skip to search Skip to main content

End-to-End Test Coverage Metrics in Microservice Systems: An Automated Approach

  • Amr S. Abdelfattah
  • , Tomas Cerny
  • , Jorge Yero Salazar
  • , Austin Lehman
  • , Joshua Hunter
  • , Ashley Bickham
  • , Davide Taibi

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

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.

Original languageEnglish (US)
Title of host publicationService-Oriented and Cloud Computing - 10th IFIP WG 6.12 European Conference, ESOCC 2023, Proceedings
EditorsGeorge A. Papadopoulos, Florian Rademacher, Jacopo Soldani
PublisherSpringer Science and Business Media Deutschland GmbH
Pages35-51
Number of pages17
ISBN (Print)9783031462344
DOIs
StatePublished - 2023
Externally publishedYes
Event10th IFIP WG 6.12 European Conference on Service-Oriented and Cloud Computing, ESOCC 2023 - Larnaca, Cyprus
Duration: Oct 24 2023 → Oct 25 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14183 LNCS

Conference

Conference10th IFIP WG 6.12 European Conference on Service-Oriented and Cloud Computing, ESOCC 2023
Country/TerritoryCyprus
CityLarnaca
Period10/24/23 → 10/25/23

Keywords

  • API tests
  • end-to-end testing
  • microservices
  • test quality

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'End-to-End Test Coverage Metrics in Microservice Systems: An Automated Approach'. Together they form a unique fingerprint.

Cite this