yev
09/05/2024, 5:44 PM@Container
static WireMockContainer wireMockContainer = new WireMockContainer("wiremock/wiremock:2.35.0")
.withMappingFromResource("fortest", DemoTest.class, "mocks-config.json")
.withFileFromResource(
"responses",
DemoTest.class,
"responses.json");
mocks-config.json is located under :
src/test/resources/mocks-config.json
when I run the test it fails with error:
resource mocks-config.json relative to com.some.foo.DemoTest not found.Lee Turner
09/05/2024, 9:05 PM