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

Are there plan to multiple wiremock server in test case? #8

Open
yokotaso opened this issue Jul 10, 2018 · 0 comments
Open

Are there plan to multiple wiremock server in test case? #8

yokotaso opened this issue Jul 10, 2018 · 0 comments

Comments

@yokotaso
Copy link

In my project, I use wiremock and wiremock-junit5 extension.( and thank you so much!).
In microservice project, there are case where I want to mock multiple microservices.
So, I want to use mutilple wiremock instance in my test method.

Are there plan to support multiple wiremock server? I want to use wiremock like below:

@ExtendWith({
        WiremockResolver.class
})
class WiremockResolverTest {

    @Test
    void shouldCreateTicket(@Wiremock WireMockServer server1, @Wiremock WireMockServer server2) {
          // tests ommited
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant