Skip to content

WebTestClient Support WebFilter only [SPR-15499] #20058

@spring-projects-issues

Description

@spring-projects-issues

Rob Winch opened SPR-15499 and commented

#19912 added support for WebFilter. However, there is not a way to only test a WebFilter with it. This means anyone testing only WebFilter objects must mock a Controller, ApplicationContext, or RouterFunction to test the WebFitler.

It would be nice if there was a way that allowed testing just the WebFilter.


Referenced from: commits add1305, 16901b1

Metadata

Metadata

Assignees

Labels

in: testIssues in the test modulein: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions