Skip to content

Commit b0bef35

Browse files
committed
Document missing spring.test.* properties
Closes gh-47236
1 parent 5ba3642 commit b0bef35

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

spring-boot-project/spring-boot-test-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,54 @@
66
"description": "Type of existing DataSource to replace.",
77
"defaultValue": "any"
88
},
9+
{
10+
"name": "spring.test.jsontesters.enabled",
11+
"type": "java.lang.Boolean",
12+
"description": "Whether auto-configuration of JSON testers is enabled.",
13+
"defaultValue": "true"
14+
},
15+
{
16+
"name": "spring.test.mockmvc.webclient.enabled",
17+
"type": "java.lang.Boolean",
18+
"description": "Whether HTMLUnit's WebClient should be auto-configured when it's on the classpath.",
19+
"defaultValue": true
20+
},
21+
{
22+
"name": "spring.test.mockmvc.webdriver.enabled",
23+
"type": "java.lang.Boolean",
24+
"description": "Whether Selenium's WebDriver should be auto-configured when it's on the classpath.",
25+
"defaultValue": true
26+
},
927
{
1028
"name": "spring.test.observability.auto-configure",
1129
"type": "java.lang.Boolean",
1230
"description": "Whether observability should be auto-configured in tests.",
1331
"defaultValue": false
1432
},
33+
{
34+
"name": "spring.test.webclient.mockrestserviceserver.enabled",
35+
"type": "java.lang.Boolean",
36+
"description": "Whether a MockRestServiceServer should be auto-configured.",
37+
"defaultValue": true
38+
},
39+
{
40+
"name": "spring.test.webclient.register-rest-template",
41+
"type": "java.lang.Boolean",
42+
"description": "Whether a RestTemplate bean should be registered.",
43+
"defaultValue": false
44+
},
45+
{
46+
"name": "spring.test.webservice.client.mockserver.enabled",
47+
"type": "java.lang.Boolean",
48+
"description": "Whether a MockWebServiceServer should be auto-configured.",
49+
"defaultValue": true
50+
},
51+
{
52+
"name": "spring.test.webservice.client.register-web-service-template",
53+
"type": "java.lang.Boolean",
54+
"description": "Whether a WebServiceTemplate bean should be registered.",
55+
"defaultValue": false
56+
},
1557
{
1658
"name": "spring.test.webtestclient.timeout",
1759
"type": "java.time.Duration",

0 commit comments

Comments
 (0)