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

stretchr/testify

A toolkit with common assertions and mocks that plays nicely with the standard library observed · 2026-08-28

github.com/stretchr/testify · homepage · Go · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

90/100

  • Activity 99
  • Release rhythm 74
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 138.0
  • age_days: 5069
  • days_rel: 14
  • days_push: 9
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

26185 stars · 1914 forks observed · 2026-08-28

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

Testify is a Go toolkit providing assertion helpers, mocking, and test suite interfaces that integrate with the standard library's testing package. It is the de facto standard testing companion library for Go.

Use cases

  • assert values in go tests with readable failure messages
  • mock interfaces and verify method calls in go
  • run setup and teardown around go test suites
  • write table-driven tests with expressive assertions
  • replace verbose if-based error checks in go tests

When to choose

  • you write Go tests and want readable assertions beyond the standard library
  • you need lightweight mocking without code generation
  • you want structured test suites with setup/teardown hooks

When to avoid

  • you prefer stdlib-only testing with no external dependencies
  • you need parallel test execution in suites (suite package does not support it)
  • you want a v2 with new features - this repo is frozen at v1 with no breaking changes

Facets

library · maturity stable

testing mocking testing developer-tools programming-languages go cross-platform assertions test-suites tdd go-testing

6 sources

Member repositories

RepositoryRoleHealth v2
stretchr/testifymain90

For agents

markdown · JSON · MCP: product_card(name="stretchr/testify")

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