Skip to content

Consider deprecating TestRestTemplate in favor of RestTestClient #46632

@bclozel

Description

@bclozel

As of spring-projects/spring-framework#34428, Spring Framework has a RestTestClient that aligns with WebTestClient. It supports testing real servers using RestClient as a transport, but also testing mock setups with MockMvc. Assertions and features are aligned with the latest in Framework (like API versioning).

We should consider whether we should deprecate TestRestTemplate as a result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions