microcks / microcks-testcontainers-java

Java lib for Testcontainers that enables embedding Microcks into your JUnit tests with lightweight, throwaway instance thanks to containers.
https://microcks.io
Apache License 2.0
18 stars 3 forks source link

Allow AsyncAPI mocking and contract-testing support #27

Closed lbroudoux closed 6 months ago

lbroudoux commented 8 months ago

Reason/Context

As of today (version 0.1.4 of this library) we just support essential features of Microcks provided by the main Microcks container. The list of supported features is the following:

Asynchronous API mocking and ASYNC_API_SCHEMA contract-testing strategy are not supported at the moment as it would require an additional microcks-async-minion container as well as a Kafka broker to ensure communication with the main container.

Description

We'd like to extend the notion of MicrocksContainersEnsemblewe described in #24 to also allow the usage of Microcks asynchronous features.

Implementation ideas

Ideally, we should be able to manage 2 different modes:

lbroudoux commented 6 months ago

Now that we have https://github.com/microcks/microcks/issues/1020, we can tackle this one more lightweight and efficiently!