Ross ROSS = Recommend OSS · open-source software intelligence for agents

google/truth

Fluent assertions for Java and Android observed · 2026-08-28

github.com/google/truth · homepage · Java · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

69/100

  • Activity 97
  • Release rhythm 15
  • 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: n/a
  • age_days: 5551
  • days_rel: 357
  • days_push: 23
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

2787 stars · 273 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Truth is a fluent assertion library for Java and Android tests, maintained by the Guava team and used widely in Google's codebase. It provides readable assertThat-style assertions with detailed failure messages and native support for many JDK and Guava types.

Use cases

  • write readable assertions in Java unit tests
  • get clearer failure messages than assertEquals
  • assert on Guava collections like Multimap and Multiset
  • test Java 8 types like Optional and Stream
  • write custom subjects for domain-specific types
  • use assertions in Android instrumentation tests

When to choose

  • you want fluent, chainable assertions with informative failure output
  • your project already uses Guava types
  • you prefer Truth's style over AssertJ or Hamcrest

When to avoid

  • you want to avoid extra test dependencies and stick with JUnit's built-in asserts
  • your team is standardized on AssertJ or Hamcrest

Facets

library · maturity stable

testing testing developer-tools mobile-development jvm cross-platform fluent-assertions unit-testing assertion-framework guava junit android

4 sources

Member repositories

RepositoryRoleHealth v2
google/truthmain69

For agents

markdown · JSON · MCP: product_card(name="google/truth")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem