Skip to content
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

Add @WebFluxTest for testing reactive controllers #8401

Closed
snicoll opened this issue Feb 24, 2017 · 1 comment
Closed

Add @WebFluxTest for testing reactive controllers #8401

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

Comments

@snicoll
Copy link
Member

snicoll commented Feb 24, 2017

No description provided.

@snicoll snicoll added priority: high type: enhancement A general enhancement labels Feb 24, 2017
@snicoll snicoll added this to the 2.0.0.M1 milestone Feb 24, 2017
@snicoll snicoll self-assigned this Feb 24, 2017
@snicoll
Copy link
Member Author

snicoll commented Feb 24, 2017

My immediate issue is that we have no way to get a context with a HttpHandler& co without starting the server as well. We need to decompose that in two different contexts (like we do for Servlet-based env). This is easier since there are ready-to-use contexts in Spring Framework for that (we only add one that deals with the embedded server).

I've created an issue in Spring Framework to discuss the possibility to clarify the servlet requirement of WebApplicationContext.

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