Document spring.test.mockmvc configuration properties

Closes gh-46576
This commit is contained in:
Stéphane Nicoll
2025-07-28 16:09:00 +02:00
parent bbd0b919c7
commit a364a05929
@@ -6,17 +6,29 @@
"description": "Type of existing DataSource to replace.",
"defaultValue": "any"
},
{
"name": "spring.test.mockmvc.add-filters",
"type": "java.lang.Boolean",
"description": "Whether to add servlet filters.",
"defaultValue": true
},
{
"name": "spring.test.mockmvc.print",
"type": "org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrint",
"description": "MVC Print option.",
"defaultValue": "default"
},
{
"name": "spring.test.mockmvc.print-only-on-failures",
"type": "java.lang.Boolean",
"description": "Whether to only print failed exchanges.",
"defaultValue": true
},
{
"name": "spring.test.observability.auto-configure",
"type": "java.lang.Boolean",
"description": "Whether observability should be auto-configured in tests.",
"defaultValue": "false"
"defaultValue": false
}
]
}