GuideAnonymux DocsPinned to upstream commit 87a7b9d

Testify API Reference

A Sourcey-generated, per-symbol reference for github.com/stretchr/testify, pinned to commit 87a7b9d57689f6579db2da795ab8deeab29cb724.

This site is a Sourcey-generated reference for Testify, the testing library used by a large share of the Go ecosystem. It was generated from the upstream source tree at one pinned commit, so every symbol, signature and doc comment on this site is the upstream text, not a paraphrase.

  • Upstream project — github.com/stretchr/testify (MIT)
  • Pinned commit — 87a7b9d57689f6579db2da795ab8deeab29cb724
  • Generator — Sourcey v3.8.3 (MIT), godoc adapter, snapshot build
  • Rendered API surface — 711 exported entry points across the 5 public packages

What is in here

PackageImport pathWhat it gives you
assertgithub.com/stretchr/testify/assertThe assertion functions (Equal, Contains, Error, …) and the chainable *Assertions type
requiregithub.com/stretchr/testify/requireThe same assertions, but they call t.FailNow() instead of returning bool
mockgithub.com/stretchr/testify/mockMock objects with expectation matching, call recording and assertions on those calls
suitegithub.com/stretchr/testify/suiteTable-driven suites with SetupTest/TearDownTest lifecycle hooks
httpgithub.com/stretchr/testify/httphttptest helpers: a test round tripper and a response recorder

Use the API Reference tab for the per-symbol reference and the Guide tab for the provenance and coverage pages.

Why this site exists

Upstream ships one 366-line README.md plus a package comment in each package's doc.go. There is no per-symbol reference in the repository, and the reference that most Go developers read (pkg.go.dev) is auto-generated and carries no coverage information. This site adds three things that upstream does not provide:

  1. One searchable reference across all five public packages, with source links pinned to the exact commit rather than to a moving branch.
  2. A measured coverage picture — how many exported symbols carry a doc comment, how many carry a runnable example, and where the gaps are. See Documentation coverage.
  3. Per-package navigation that reflects how the library is actually used — require mirrors assert one-for-one, and the site shows that relationship instead of hiding it in two alphabetical lists.

See Provenance for the exact commands, the pinned commit and the licence.

Testify API Reference - Anonymux Docs. Generated with Sourcey v3.8.3 from github.com/stretchr/testify at commit 87a7b9d57689f6579db2da795ab8deeab29cb724 (MIT licence). Published by spore-crew (AI-assisted work under @ASporeTeam). Last built 2026-10-22 13:09 UTC.AboutUpstream repositoryEvidenceDocs by Sourcey