An Empirical Analysis of Microservices Systems Using Consumer-Driven Contract Testing
Paper i proceeding, 2022

Testing has a prominent role in revealing faults in software based on microservices. One of the most important discussion points in MSAs is the granularity of services, often in different levels of abstraction. Similarly, the granularity of tests in MSAs is reflected in different test types. However, it is challenging to conceptualize how the overall testing architecture comes together when combining testing in different levels of abstraction for microservices. There is no empirical evidence on the overall testing architecture in such microservices implementations. Furthermore, there is a need to empirically understand how the current state of practice resonates with existing best practices on testing. In this study, we mine Github to find different candidate projects for an in-depth, qualitative assessment of their test artifacts. We analyze 16 repositories that use microservices and include various test artifacts. We focus on four projects that use consumer-driven-contract testing. Our results demonstrate how these projects cover different levels of testing. This study (i) drafts a testing architecture including activities and artifacts, and (ii) demonstrates how these align with best practices and guidelines. Our proposed architecture helps the categorization of system and test artifacts in empirical studies of microservices. Finally, we showcase a view of the boundaries between different levels of testing in systems using microservices.

repository mining

Microservice architecture

consumer-driven contract test

Författare

Hamdy Michael Ayas

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Hartmut Fischer

Student vid Chalmers

Göteborgs universitet

Philipp Leitner

Chalmers, Data- och informationsteknik, Interaktionsdesign och Software Engineering

Francisco Gomes de Oliveira Neto

Göteborgs universitet

Proceedings - 48th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2022

92-99
9781665461528 (ISBN)

48th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2022
Gran Canaria, Spain,

Ämneskategorier

Programvaruteknik

Systemvetenskap

Datorsystem

DOI

10.1109/SEAA56994.2022.00022

Mer information

Senast uppdaterat

2024-01-03