AssertJ
Java library of fluent, strongly typed assertions for unit tests, usable with JUnit, TestNG and other frameworks.
assertj.github.io/doc/repositorydocs
AssertJ is a Java library of fluent, strongly typed assertions for unit tests, and it works with JUnit, TestNG or any other test framework. The core module is the one the install guide names, and the Maven and Gradle snippets add it as a dependency.
The repository also holds modules for Guava, Joda-Time, Neo4j, relational database tables and Swing user interfaces.
Worth knowing
The guide lists Kotlin support and states that Android is compatible with exceptions: soft assertions and assumptions are not supported there, and Android is not an official target.
Sources
- 2026-11-04: links, Runtime, Minimum runtime, Install with
assertj.github.io/doc/ - 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/assertj/assertj - 2026-11-04: Maintainer
raw.githubusercontent.com/assertj/assertj/main/pom.xml - 2026-11-04: Categories
raw.githubusercontent.com/assertj/assertj/main/README.md - 2026-11-04: Minimum runtime
github.com/assertj/assertj/blob/assertj-build-3.27.7/assertj-parent/pom.xml - 2026-11-04: Current major version, Last release
github.com/assertj/assertj/releases/tag/assertj-build-3.27.7 - 2026-11-04: First release, Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/repo1.maven.org/packages/org.assertj:assertj-core - 2026-11-04: Contributors
api.github.com/repos/assertj/assertj/contributors