UTEMS: A Unit Testing Scheme for Event-driven Microservices

Shang‐Pin Ma, Yu-Yung Yang, Shin-Jie Lee, Hang-Wei Yeh · 2023

This paper introduces a novel scheme to facilitate unit testing for event-driven microservices. The proposed approach includes implementation procedures formulated in accordance with the message broker, event publishing and consumption, and individual steps in the saga design pattern. The proposed approach makes it possible to formulate unit test cases that effectively capture errors associated with publishing, the channel subscription process, invalid message formatting, and ineffective error remediation methods.

Read the paper · More papers on PaperTik