Using WireMock for integration testing of Spring-based (micro)services can be hugely valuable. However, usually, it requires significant effort to write and maintain the stubs needed for WireMock to take a real service’s place in tests.
What if generating WireMock stubs was as easy as adding @GenerateWireMockStub
to your controller? Like this: