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 dedicated support for printing the MvcResult in MockMvcTester #33059

Closed
snicoll opened this issue Jun 18, 2024 · 0 comments
Closed

Add dedicated support for printing the MvcResult in MockMvcTester #33059

snicoll opened this issue Jun 18, 2024 · 0 comments
Assignees
Labels
in: test Issues in the test module type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Jun 18, 2024

MockMvc has support for print() to see what the exchange looks like. With MockMvcTester we can do this using .apply(print()) that requires a static import.

It would be nice to provide a shortcut for it in the Assert object.

@snicoll snicoll added in: test Issues in the test module type: enhancement A general enhancement labels Jun 18, 2024
@snicoll snicoll added this to the 6.2.x milestone Jun 18, 2024
@snicoll snicoll self-assigned this Jun 18, 2024
@snicoll snicoll modified the milestones: 6.2.x, 6.2.0-M5 Jun 18, 2024
snicoll added a commit that referenced this issue Jun 18, 2024
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 type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant