Skip to content

Commit a364a05

Browse files
committed
Document spring.test.mockmvc configuration properties
Closes gh-46576
1 parent bbd0b91 commit a364a05

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,29 @@
66
"description": "Type of existing DataSource to replace.",
77
"defaultValue": "any"
88
},
9+
{
10+
"name": "spring.test.mockmvc.add-filters",
11+
"type": "java.lang.Boolean",
12+
"description": "Whether to add servlet filters.",
13+
"defaultValue": true
14+
},
915
{
1016
"name": "spring.test.mockmvc.print",
1117
"type": "org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint",
1218
"description": "MVC Print option.",
1319
"defaultValue": "default"
1420
},
21+
{
22+
"name": "spring.test.mockmvc.print-only-on-failures",
23+
"type": "java.lang.Boolean",
24+
"description": "Whether to only print failed exchanges.",
25+
"defaultValue": true
26+
},
1527
{
1628
"name": "spring.test.observability.auto-configure",
1729
"type": "java.lang.Boolean",
1830
"description": "Whether observability should be auto-configured in tests.",
19-
"defaultValue": "false"
31+
"defaultValue": false
2032
}
2133
]
2234
}

0 commit comments

Comments
 (0)