Knotx / knotx-junit5

JUnit 5 support and extensions for Vert.x projects
https://knotx.io
Apache License 2.0
0 stars 4 forks source link

Allow for multiple Wiremock instances on different ports #9

Closed tMaxx closed 6 years ago

tMaxx commented 6 years ago

Due to how stubFor static method works, it is currently difficult to set up more than one Wiremock server instance.

With https://github.com/tomakehurst/wiremock/issues/18 in mind, modify WiremockExtension so it will be able to automatically manage additional Wiremock instances.

Some option should also be present allowing for configuration injection (in JSON perhaps), so that most of the cases (simple HTTP server, mock repository/data source) could be configured other way than programatically.

tMaxx commented 6 years ago

Fixed by #10, further improvements for configuration are deemed unnecessary for now.