Testify API Reference
A Sourcey-generated reference for Testify, built from the upstream source tree at one pinned commit. Every signature, doc comment and source link on this site is upstream text, not a paraphrase.
| Upstream | github.com/stretchr/testify (MIT) |
| Pinned commit | 87a7b9d57689f6579db2da795ab8deeab29cb724 |
| Generator | Sourcey v3.8.3, godoc adapter, snapshot build |
| API surface rendered | 711 exported entries across 5 public packages |
Jump to a package
assert— 327 entries — the assertion functions and the chainable*Assertionstyperequire— 311 entries — the same assertions, failing fast witht.FailNow()mock— 46 entries — expectation matching, call recording, assertions on callssuite— 21 entries — suites with per-test setup and teardownhttp— 6 entries —httptestresponse recorder and round tripper
Read next
- Introduction — what this site is and why it exists
- Quick start — the smallest correct example for each package
- Documentation coverage — measured doc-comment and example coverage, and where the gaps are
- Provenance — the exact commit, licence, Sourcey version and commands
Machine-readable
llms.txt— the page index as plain textllms-full.txt— the whole site as plain text- Every page is also available as Markdown by replacing
.htmlwith.md