spring-projects / spring-projects/spring-boot
Allow RestTestClient to be used for RESTDocs tests
Open
Nobody has claimed this yet.
status: blocked
type: enhancement
- Dominant language
- Java
- Stars
- 81.5k
- Forks
- 42.7k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 65
Description
We have support for WebTestClient and it looks like we could have support for RestTestClient as well. This would also removes the need to have spring-webflux on the classpath to use the fluent API.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing WebTestClient support used for RESTDocs tests and compare its integration points with RestTestClient. Check how the RESTDocs fluent API currently brings in spring-webflux, then verify that RestTestClient support works without that classpath dependency and that the relevant RESTDocs tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring-boot
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 40/100