Introduce automated integration testing
At the moment we only test changes on a PR with snapshot tests. These tests are nice but not really enough. They test if generated code text changed, but not test if the generated service is actually working.
We need some kind of integration or contract testing.
Easiest idea:
- get docker compose
- spin up generated service and broker
- generate some code that will run against the broker and validate if these got delivered
This sounds too custom and before we go this direction we should check if there are other tools that can make it much easier for us:
- https://microcks.io/ is for testing but afaik it is based on testing API generating its mocks
- people also talk about https://pact.io/ which sounds like a solution that we actually need
- maybe there are some other tools
This issue has been automatically marked as stale because it has not had recent activity :sleeping:
It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.
There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.
Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.
Thank you for your patience :heart: