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

08/18/2023
by   Amr Elsayed, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/18/2021

Restats: A Test Coverage Tool for RESTful APIs

Test coverage is a standard measure used to evaluate the completeness of...
research
06/09/2023

Benchmarks for End-to-End Microservices Testing

Testing microservice systems involves a large amount of planning and pro...
research
02/05/2023

Simulation-Driven Automated End-to-End Test and Oracle Inference

This is the first work to report on inferential testing at scale in indu...
research
09/08/2023

Seeding Contradiction: a fast method for generating full-coverage test suites

The regression test suite, a key resource for managing program evolution...
research
01/12/2023

Evaluating the Fork-Awareness of Coverage-Guided Fuzzers

Fuzz testing (or fuzzing) is an effective technique used to find securit...
research
09/26/2022

Test Coverage for Network Configurations

We develop NetCov, the first tool to reveal which network configuration ...
research
01/03/2022

Combinatorial Sequence Testing Using Behavioral Programming and Generalized Coverage Criteria

This paper tackles three main issues regarding test design: (1) it propo...

Please sign up or login with your details

Forgot password? Click here to reset