AssertJ

Learn about the AssetJ library, and how it helps us to write better unit tests.

AssertJ is a Java library used alongside JUnit 5 to write fluent assertions.

AssertJ contains feature-rich assertions and helpful error messages. This improves test code readability, and helps us debug failed unit tests.

Different modules of AssertJ

AssertJ is composed of several modules:

...