Skip to content
/ assertj Public
forked from assertj/assertj

AssertJ is a library providing easy to use rich typed assertions

License

Notifications You must be signed in to change notification settings

dhoard/assertj

This branch is 71 commits behind assertj/assertj:main.

Folders and files

NameName
Last commit message
Last commit date
Feb 19, 2025
Feb 4, 2025
Oct 17, 2024
Jan 26, 2025
Mar 5, 2025
Feb 2, 2025
Feb 22, 2025
Mar 5, 2025
Jul 29, 2022
Feb 19, 2024
Mar 2, 2025
Oct 20, 2024
Feb 4, 2025
Aug 10, 2022
Oct 30, 2023
Dec 15, 2024
Jan 5, 2018
Sep 9, 2019
Aug 23, 2022
Dec 8, 2024
Dec 22, 2024
Aug 15, 2023
Oct 17, 2024
Oct 17, 2024
Feb 21, 2025

Repository files navigation

AssertJ - Fluent Assertions for Java Maven Central Javadocs

CI Binary Compatibility Quality Gate Status

Open in Gitpod

AssertJ provides a rich and intuitive set of strongly-typed assertions to use for unit testing (with JUnit, TestNG or any other test framework).

You can ask questions in stackoverflow (assertj tag) and make suggestions by simply creating an issue.

AssertJ's ambition is to provide a rich and intuitive set of strongly-typed assertions for unit testing.

The idea is that disposal assertions should be specific to the type of the objects we are checking when writing unit tests. If you're checking the value of a String, you use String-specific assertions. Checking the value of a Map? Use Map-specific assertions to easily check the contents of the map.

AssertJ's assertions are super easy to use: just type assertThat(underTest). and use code completion to show you all assertions available.

Assertion missing? Please create an issue to discuss it and even better contribute to the project!

AssertJ is composed of several modules:

You are encouraged to contribute any missing useful assertions.

Please read the contributing section and raise a PR!

About

AssertJ is a library providing easy to use rich typed assertions

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.7%
  • Other 0.3%