Unveiling the microservices testing methods, challenges, solutions, and solutions gaps: A systematic mapping study
Mingxuan Hui,Lu Wang,Hao Li,Ren Yang,Yuxin Song,Huiying Zhuang,Di Cui,Qingshan Li
DOI: https://doi.org/10.1016/j.jss.2024.112232
IF: 3.5
2024-10-18
Journal of Systems and Software
Abstract:Microservices architecture (MSA) is widely used by enterprises and related practitioners. Due to the importance of MSA in the industry, failure to identify its potential faults and errors will cause serious consequences. Consequently, it is imperative to conduct testing on the MSA to guarantee its quality and reliability. As a key task in the software development lifecycle, microservices testing can effectively identify defects and errors caused by incorrect or unexpected behavior of microservices software, ensuring the quality of microservices software. Currently, related reviews lack a comprehensive summary of the challenges and solutions faced by microservices testing. To fill this gap, this study provides a comprehensive review of the microservices testing. It analyzes 93 primary studies from 19595 pieces of research, eventually identifying nine categories of microservices testing methods, four types of challenges, and 5 specific solutions to challenges. The conclusion shows that the current part of microservices testing methods is significantly different from other architectural testing methods, lacking exploration of testing methods under different communication mechanisms. Furthermore, this paper discusses the above conclusions, providing directions to further narrow the gap in solutions to challenges and future development directions for microservices testing.
computer science, theory & methods, software engineering