Skip to content

Include Spring Boot's JacksonTester in the test module #24519

Open
@odrotbohm

Description

@odrotbohm

Spring Boot ships JacksonTester (see Boot's reference docs) that's very handy to formulate assertions on Jackson rendered payloads. That kind of functionality is very helpful for tests in Spring projects that deal with Jackson serialization (Spring HATEOAS, Spring Data REST) and it doesn't look like the class is tied to Boot in any way.

That said, it refers to AssertJ as assertion library but there seem to be quite a few themes regarding the integration of AssertJ APIs in e.g. MockMVC already.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions