-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement
Description
Stéphane Nicoll opened SPR-15286 and commented
Spring Boot has a @RestClientTest
for pure client-side tests. We currently auto-configure MockRestServiceServer
and bind any RestTemplate
created by the RestTemplateBuilder
to it.
This would be pretty awesome if we could port that feature to WebClient
transparently if webflux is on the classpath. That would require that MockRestServiceServer
can be configured with a WebClient
in addition to a RestTemplate
Sub-tasks:
- Document how to test WebClient code with a mock server [SPR-16482] #19295 Document how to test WebClient code with a mock server
15 votes, 24 watchers
tobske, bes89, jonesleonard, blangero, orange-buffalo and 22 more
Metadata
Metadata
Assignees
Labels
has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importIssues migrated from JIRA with more than 10 votes at the time of importin: testIssues in the test moduleIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancementA general enhancement