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 test auto-configuration for MockMvcTester #41198

Closed
snicoll opened this issue Jun 21, 2024 · 1 comment
Closed

Add test auto-configuration for MockMvcTester #41198

snicoll opened this issue Jun 21, 2024 · 1 comment
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Jun 21, 2024

Spring Framework 6.2 introduces an AssertJ support for MockMvc that also provides a fluent API to compose the request. Given that we're auto-configuring a MockMvc instance in certain circumstances, we should extend that to support the tester as well (which wraps it).

@snicoll snicoll added the type: enhancement A general enhancement label Jun 21, 2024
@snicoll snicoll added this to the 3.4.x milestone Jun 21, 2024
@snicoll snicoll self-assigned this Jun 21, 2024
snicoll added a commit to snicoll/spring-boot that referenced this issue Jun 21, 2024
@snicoll
Copy link
Member Author

snicoll commented Jul 3, 2024

As part of this change, we'll also migrate our tests to this since we're using AssertJ everywhere.

@snicoll snicoll modified the milestones: 3.4.x, 3.4.0-M1 Jul 3, 2024
@snicoll snicoll closed this as completed in e5859ae Jul 3, 2024
snicoll added a commit that referenced this issue Jul 3, 2024
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