Thanks to visit codestin.com
Credit goes to github.com

Skip to content

doc: Add RestTestClient setup with @AutoConfigureRestTestClient#36990

Closed
Nicklas2751 wants to merge 1 commit into
spring-projects:mainfrom
Nicklas2751:feat/resttestclient_autoconfig_doc
Closed

doc: Add RestTestClient setup with @AutoConfigureRestTestClient#36990
Nicklas2751 wants to merge 1 commit into
spring-projects:mainfrom
Nicklas2751:feat/resttestclient_autoconfig_doc

Conversation

@Nicklas2751

Copy link
Copy Markdown
Contributor

When searching for how to set up the new RestTestClient for a @SpringBootTest I was writing, I missed an hint to the @AutoConfigureRestTestClient in the docs.

So I added it. ^^

I am aware that this is the spring framework doc and not the spring boot doc but since the RestTestClient is documentet here, I thought that this would be the best place.

Feel free to throw away this PR if you don't want Spring Boot related stuff in it. :)

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jul 1, 2026
@sbrannen sbrannen added in: test Issues in the test module type: documentation A documentation task status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jul 2, 2026
@sbrannen sbrannen self-assigned this Jul 2, 2026
@sbrannen

sbrannen commented Jul 2, 2026

Copy link
Copy Markdown
Member

Thanks for the proposal, @Nicklas2751.

Though, as you mentioned, @AutoConfigureRestTestClient resides in Spring Boot. Thus, such documentation would need to be added to the Spring Boot project.

In light of that, I am closing this PR.

Feel free to open an issue or PR in the Spring Boot project if you would like to pursue this further.

@sbrannen sbrannen closed this Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: test Issues in the test module status: declined A suggestion or change that we don't feel we should currently apply type: documentation A documentation task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants