Writing tests in Massa #4486
AurelienFT
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
Writing tests in a complex environments where multiple actors plays together can be challenging and leads to spaghetti code. In Massa we have multiple modules that runs concurrently and interacts together.
Each module has an interface to be called by the others. We need to provide a simple, comprehensive and easy to use resource to initialize all the modules that communicate with the one we are testing.
Proposal
Inspired from a talk from Quickwit at the FOSDEM 2023 I propose to design an
Universe
that will be able to provide everything that is necessary to each tests in a standardized way. Here is a list of all the possibility that will be included in the Universe :mockall
)tracing
crateBeta Was this translation helpful? Give feedback.
All reactions