Skip to content

Auto-configure WebTestClient in @SpringBootTest #8399

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

Closed
snicoll opened this issue Feb 24, 2017 · 0 comments
Closed

Auto-configure WebTestClient in @SpringBootTest #8399

snicoll opened this issue Feb 24, 2017 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Feb 24, 2017

The new WebTestClient is what should be used to test reactive controllers. We should provide one automatically when @SpringBootTest is used (similar use case than TestRestTemplate).

@snicoll snicoll self-assigned this Feb 24, 2017
@snicoll snicoll added this to the 2.0.0.M1 milestone Feb 24, 2017
@snicoll snicoll changed the title Auto-configure WebTestClient Auto-configure WebTestClient in @SpringBootTest Feb 24, 2017
bclozel added a commit that referenced this issue Jul 7, 2017
This commit adds new reference documentation sections about WebFlux
support in Spring Boot:

* Support for multiple HTTP servers (gh-8403)
* `CodecCustomizer` and JSON codecs (gh-8897, gh-9166)
* `WebClient.Builder` auto-configuration (gh-9522)
* Tests with `@WebFluxTest` (gh-8401)
* `WebTestClient` auto-configuration (gh-8399)
* Support for Thymeleafi and Mustache templating (gh-8124, gh-8648)
* Choose another HTTP server with WebFlux (closes gh-9690)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant