Skip to content

Document that org.assertj.core.api.Assertions is now directly usable #215

@jmaniquet

Description

@jmaniquet

Hello AssertJ DB

Following assertj/assertj-db#329 and its PR assertj/assertj-db#330

AssertJ DB Documentation should now mention that it is now possible for both AssertJ DB and AssertJ Core assertions to coexist in the same class with only one static import from AssertJ Core.

I took a look at the documentation to find occurences of the Assertions class full name.

Here are the candidates for modification that I found :

Quick start

Concepts - Navigation

Release notes - https://assertj.github.io/doc/#assertj-swing-release-notes

  • Add the 3.0.2 - and the 3.0.1 for good measure

As for how, here are my thoughts :

  • Using org.assertj.core.api.Assertions.assertThat with previous versions of the library would not compile. So developers still using those should not have that as the only reference. So for now I believe the documentation should mention both Assertions class.
  • However I believe the feature makes org.assertj.db.api.Assertions.assertThat irrelevant. And I think the documentation should make it clear that org.assertj.core.api.Assertions.assertThat is to be favored.

If documentation is open for contribution, I am willing to do a proposal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions