Suggest a tool

AssertJ

Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.

What AssertJ is

AssertJ is a Java library of strongly typed assertions for unit tests. It works with JUnit, TestNG or other test frameworks. Assertions start from assertThat on the object under test, and code completion lists the checks available for its type. The core module covers JDK types such as String, Iterable, Stream, Path, File and Map. Separate modules add assertions for Guava, Joda Time, Neo4J and relational database types. A Swing module provides an API for functional testing of Swing user interfaces.

Written from the project's README, read .

Category
Unit testing and test runners
License
Apache-2.0
Language
Java
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars2,8471
Forks7891
Open issues and PRs2501
Contributors4551
Commits in the last 90 days1371
Last commit2026-09-221
Last releaseassertj-build-3.27.7, 2026-01-241
Fetched

1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.

Status

activeLast commit within 90 days of the fetch date.

Computed from the last commit date and the archive flag on the fetch date. See the status rules.

Alternatives

Listed unit testing and test runners tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from AssertJ's, with its source.

Questions

Is AssertJ open source?

Yes. AssertJ is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.

Is AssertJ maintained?

On 2026-09-22, the last commit to the default branch was on 2026-09-22, so the listed status is active. Rule: Last commit within 90 days of the fetch date.

How many GitHub stars does AssertJ have?

2,847 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.

What language is AssertJ written in?

The repository's primary language, as reported by the GitHub API, is Java.

Sources

  1. GitHub REST API: repository, read
  2. GitHub REST API: commits, read
  3. GitHub REST API: latest release, read
  4. GitHub REST API: contributors, read
  5. README, read