From b0bef35478cfad7efcc3d065cd6b2652703ef1d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Thu, 23 Oct 2025 09:39:27 +0200 Subject: [PATCH] Document missing spring.test.* properties Closes gh-47236 --- ...itional-spring-configuration-metadata.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 1f9673f3c45..b539cc54895 100644 --- a/spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -6,12 +6,54 @@ "description": "Type of existing DataSource to replace.", "defaultValue": "any" }, + { + "name": "spring.test.jsontesters.enabled", + "type": "java.lang.Boolean", + "description": "Whether auto-configuration of JSON testers is enabled.", + "defaultValue": "true" + }, + { + "name": "spring.test.mockmvc.webclient.enabled", + "type": "java.lang.Boolean", + "description": "Whether HTMLUnit's WebClient should be auto-configured when it's on the classpath.", + "defaultValue": true + }, + { + "name": "spring.test.mockmvc.webdriver.enabled", + "type": "java.lang.Boolean", + "description": "Whether Selenium's WebDriver should be auto-configured when it's on the classpath.", + "defaultValue": true + }, { "name": "spring.test.observability.auto-configure", "type": "java.lang.Boolean", "description": "Whether observability should be auto-configured in tests.", "defaultValue": false }, + { + "name": "spring.test.webclient.mockrestserviceserver.enabled", + "type": "java.lang.Boolean", + "description": "Whether a MockRestServiceServer should be auto-configured.", + "defaultValue": true + }, + { + "name": "spring.test.webclient.register-rest-template", + "type": "java.lang.Boolean", + "description": "Whether a RestTemplate bean should be registered.", + "defaultValue": false + }, + { + "name": "spring.test.webservice.client.mockserver.enabled", + "type": "java.lang.Boolean", + "description": "Whether a MockWebServiceServer should be auto-configured.", + "defaultValue": true + }, + { + "name": "spring.test.webservice.client.register-web-service-template", + "type": "java.lang.Boolean", + "description": "Whether a WebServiceTemplate bean should be registered.", + "defaultValue": false + }, { "name": "spring.test.webtestclient.timeout", "type": "java.time.Duration",