Suggest a tool

Testify

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

What Testify is

Testify is a set of Go packages for writing tests. The assert package provides assertion functions that take testing.T, return a bool and accept an optional message. The require package offers the same functions but stops the current test on failure. The mock package builds mock objects whose expected calls a test can verify. The suite package runs setup, teardown and test methods on a struct through go test, without support for parallel tests. The project is maintained at v1 and accepts no breaking changes.

Written from the project's README, read .

Category
Unit testing and test runners
License
MIT
Language
Go
Changelog
Releases on GitHub

Repository metrics

Repository metrics
Stars26,2111
Forks1,9151
Open issues and PRs3801
Contributors3231
Commits in the last 90 days141
Last commit2026-09-021
Last releasev1.12.1, 2026-08-191
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 Testify's, with its source. See also Testify alternatives.

Comparisons

How to install

go get github.com/stretchr/testify
From README, read .

Questions

Is Testify open source?

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

Is Testify maintained?

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

How many GitHub stars does Testify have?

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

What language is Testify written in?

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

How do I install Testify?

The README gives this command: go get github.com/stretchr/testify

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