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
Contract Testing #2990
Comments
Thanks for providing this feature request, @meierw. As it stands, the team is mainly focused on maintenance for Axon Framework 4 and the development of Axon Framework 5. Note that doesn't mean you or anybody else isn't free to provide a pull request for such functionality. It just means the Axon Framework team cannot at this stage. |
Hi @smcvb . Thanks for the response. That is very understandable. Importantly your answer breeds confidence that we would not be reinventing the wheel if we added this new functionality ourselves. Then my follow up question would be. Which is preferable, a pull request or a new extension/library? The way I see it, if we gave you the code via PR, we would also give you the burden of maintenance, in case there are some issues in the future that other users/developers find with the implementation. That could potentially burden your dev team later. Thoughts? |
Although true, I think that's a natural part of maintaining an open-source project. :-)
If the Contract Testing requires dependencies on other tooling, it would be best suited as an extension. |
Understood. Will keep that in mind. Will see what we come up with, and of course we can deliberate more when we have some POC presentable. |
Feature Description
We (my team and I) are looking for a Contract Testing lib/framework for Axon Framework based services. Something similar to Pact or Spring Cloud Contract.
But at the moment it looks like there is no such dedicated tool. The aforementioned Pact only works with JSON messages ad Spring Cloud Contract doesn't have Axon Framework in it's supported messaging integrations.
Current Behaviour
No dedicated way to define Contracts for testing between separate Axon Framework apps, which are communicating with each other via the messaging bus.
Each service must Assume what the consumers will send and what they expect.
Wanted Behaviour
A way to define Consumer Driven Contracts for sharing among services, to make sure services can be tested in isolation, and to make sure new deployments handle the consumer needs based on the Contract.
Possible Workarounds
https://softwaremill.com/contract-testing-of-event-driven-application-with-kafka-and-spring-cloud-contract/
https://github.com/idugalic/axon-contract-testing-demo
The text was updated successfully, but these errors were encountered: