Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce automated integration testing #217

Open
derberg opened this issue Jul 4, 2023 · 0 comments
Open

Introduce automated integration testing #217

derberg opened this issue Jul 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@derberg
Copy link
Member

derberg commented Jul 4, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant