Skip to content

Start using AssertJ in unit tests #1041

@cowtowncoder

Description

@cowtowncoder

Currently unit test use basic JUnit (mostly v4 but some v5 starting to be used). While functional, there are some nice alternatives/extensions, like AssertJ:

https://github.com/assertj/assertj

Since this is not an either/or thing, we can mix and match: so let's add a dependency here in jackson-core first: with default version specified in one of parent poms (version property in oss-parent, managed dependency version set in jackson-base) and then individual modules adding as dependency as required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.16Issue planned (at earliest) for 2.16

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions