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

hamcrest/JavaHamcrest

Java (and original) version of Hamcrest observed · 2026-08-28

github.com/hamcrest/JavaHamcrest · homepage · Java · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

26/100

  • Activity 8
  • Release rhythm 8
  • 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: 5267
  • days_rel: n/a
  • days_push: 555
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2189 stars · 384 forks observed · 2026-08-28

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

JavaHamcrest is the original Java version of Hamcrest, a library of matcher objects that can be combined to create flexible, readable expressions of intent in tests. It is widely used with testing frameworks like JUnit and is available via Maven Central.

Use cases

  • write readable assertions in JUnit tests
  • combine matchers into flexible test conditions
  • assert on collections and object properties in Java tests
  • create custom matchers for domain-specific assertions
  • improve test failure messages with descriptive matchers

When to choose

  • you write Java/JVM tests and want expressive, composable assertions
  • you need better failure messages than plain JUnit asserts
  • you want a stable, well-established matcher library with Maven Central distribution

When to avoid

  • you prefer AssertJ-style fluent assertion chains
  • you are not working on the JVM or a language with a Hamcrest port
  • you need async or integration testing infrastructure rather than assertions

Facets

library · maturity stable

testing developer-tools testing developer-tools jvm matchers assertion-library unit-testing test-expressions java

2 sources

Member repositories

RepositoryRoleHealth v2
hamcrest/JavaHamcrestmain26

For agents

markdown · JSON · MCP: product_card(name="hamcrest/JavaHamcrest")

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