English

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

Software Engineering 2023-08-21 v1

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.

Keywords

Cite

@article{arxiv.2308.09257,
  title  = {End-to-End Test Coverage Metrics in Microservice Systems: An Automated Approach},
  author = {Amr Elsayed and Tomas Cerny and Jorge Yero Salazar and Austin Lehman and Joshua Hunter and Ashley Bickham and Davide Taibi},
  journal= {arXiv preprint arXiv:2308.09257},
  year   = {2023}
}

Comments

This paper is accepted for publication at ESOCC 2023