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

Replace RestAssure with the new synchronous RestClient for testing #76

Closed
BjoernKW opened this issue Sep 4, 2023 · 2 comments
Closed
Labels
improvement testing Anything test-related

Comments

@BjoernKW
Copy link
Collaborator

BjoernKW commented Sep 4, 2023

See https://spring.io/blog/2023/07/13/new-in-spring-6-1-restclient

@BjoernKW BjoernKW added improvement testing Anything test-related labels Sep 4, 2023
@BjoernKW BjoernKW changed the title Replace RestAssure with the new synchronous Restclient for testing Replace RestAssure with the new synchronous RestClient for testing Sep 4, 2023
@BjoernKW
Copy link
Collaborator Author

BjoernKW commented Mar 4, 2024

Using RestClient for testing isn't as straightforward and accessible as expected (see https://github.com/workshops-de/Bookshelf_Spring_Boot_workshop_10_01_2024/blob/main/src/test/java/de/workshops/bookshelf/book/BookRestControllerRestClientTest.java, for example). Hence, for the moment, we're probably better off with continuing to use RestAssured.

@BjoernKW BjoernKW closed this as completed Mar 4, 2024
@rweisleder
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement testing Anything test-related
Projects
None yet
Development

No branches or pull requests

2 participants