assertj/assertj
Fluent testing assertions for Java and the JVM observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 67
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 4920
- days_rel: 221
- days_push: 7
- n_releases_24m: 8
Adoption not part of the score
2842 stars · 787 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
AssertJ is a Java library providing a rich set of strongly-typed, fluent assertions for unit testing with JUnit, TestNG, or any other test framework. It includes modules for JDK types, Guava, Joda Time, Neo4j, databases, and Swing UI testing.
Use cases
- write readable unit test assertions in Java
- replace JUnit assertions with fluent typed assertions
- assert collections, maps, and streams in tests
- test relational database contents
- functional testing of Swing UIs
- get helpful error messages from failed assertions
When to choose
- you write Java/JVM unit tests and want type-specific, discoverable assertions
- you want better failure messages than JUnit's built-in asserts
- you need assertions for Guava, Joda Time, Neo4j, or database types
When to avoid
- you are not on the JVM
- your team is standardized on plain JUnit assertions or Hamcrest and has no need to migrate
Facets
library · maturity stable
testing testing developer-tools jvm jvm-scripting assertions fluent-api unit-testing tdd junit testng jvm
2 sources
- readme: https://github.com/assertj/assertj · fetched 2026-08-28 · 2f3add0d5bc1
- homepage: https://assertj.github.io/doc/ · fetched 2026-08-29 · fe1624edf7f8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| assertj/assertj | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem