-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the Documentation in setting up tests to use WebClientTest
for Servlet based.
#735
Comments
Thanks for the report and sorry for confusion. Unfortunately, it's not clear to me from where the confusion arose. REST Docs does not yet officially support |
The documentation suggested to use WebTestClient but using it causes it to have a In my opinion the documentation isn't really at fault and it was my ignorance about WebClient but adding clarifications on whether to use |
This'll be covered in the documentation updates that are made as part of #691. |
The documentation for setting up tests where you build and bind
WebClientTests
to application contexts does not specify whether to useMockMvcWebTestClient
orWebClientTest
. It should specify whether to use(**MockMvcWebTestClient** and **WebClientTest**).bindToApplicationContext
for servlet based or projects that use webflux respectively. This cost me so much nuisance and time for a trivial mistake.The text was updated successfully, but these errors were encountered: