diff --git a/reference/html/appendix.html b/reference/html/appendix.html index b12fe8a691..ea3400b29d 100644 --- a/reference/html/appendix.html +++ b/reference/html/appendix.html @@ -307,6 +307,11 @@ Also, you can define your own properties.
Flag to indicate that http URLs in generated wiremock stubs should be filtered to add or resolve a placeholder for a dynamic port.
wiremock.reset-mappings-after-each-test
false
wiremock.rest-template-ssl-enabled
false
@AutoConfigureWireMock adds a bean of type WiremockConfiguration to
your test application context, where it is cached between methods and classes
having the same context. The same is true for Spring integration tests. Also, you can
-inject a bean of type WireMockServer into your test.
+inject a bean of type WireMockServer into your test.
+The registered WireMock server is reset after each test class, however, if you need to reset it after each test method, just set the wiremock.reset-mappings-after-each-test property to true.
@AutoConfigureWireMock adds a bean of type WiremockConfiguration to
your test application context, where it is cached between methods and classes
having the same context. The same is true for Spring integration tests. Also, you can
-inject a bean of type WireMockServer into your test.
+inject a bean of type WireMockServer into your test.
+The registered WireMock server is reset after each test class, however, if you need to reset it after each test method, just set the wiremock.reset-mappings-after-each-test property to true.
Flag to indicate that http URLs in generated wiremock stubs should be filtered to add or resolve a placeholder for a dynamic port.
wiremock.reset-mappings-after-each-test
false
wiremock.rest-template-ssl-enabled
false