Hi Jan, I like WireMock I've used it extensively. In general I don't think test class hierarchies are a good idea, I'd prefer composition instead of inheritance. Have you seen the Citrus Framework[1]?
zoran [1] https://citrusframework.org/ On Wed, Oct 9, 2019 at 9:46 AM Jan Bouška <bouska....@gmail.com> wrote: > > Hi folks, > Recently I was thinking about integration tests in Camel project. Of > course, we have camel-testcontainers component [1] which can help with > integration testing very much using docker containers. But what about > services which does not have docker image? For example we can't have > facebook-docker image. > > Most of this third party services are communicating through REST API. I am > working on camel-wiremock-test component [2] [3] which is able to record > REST API responses and playback during the test. > > Can you check my PoC with camel-jira [4]? What you think about this > approach? Does it worth it? > > Thanks for your input. > > Have a nice day. > Jan > > [1] > https://github.com/apache/camel/tree/master/components/camel-testcontainers > [2] > https://github.com/bouskaJ/camel/tree/camel-wiremock/components/camel-wiremock-test > [3] http://wiremock.org/ > [4] > https://github.com/bouskaJ/camel/blob/camel-wiremock/components/camel-jira/src/test/java/org/apache/camel/component/jira/it/JiraProducerItTest.java -- Zoran Regvart