testing.TB.Helper
standard libraryThe 479th most-called standard-library method by production calls. Called 3,588 times across 228 modules; 1,658 of those run outside tests and generated code.
- prod calls
- 1,658
- non-test, non-generated
- all calls
- 3,588
- total callsites
- modules
- 228
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 54%
- 1,930 calls
- resolved
- 0%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Embedded method<1%Reached through an embedded type.
- Interface method100%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into TB.Helper from notable Go projects. Open one on the map to see what else it hammers.
- Docker 228 14%
- HashiCorp 195 12%
- Vault 79 5%
- Grafana 59 4%
- containerd 54 3%
where it's called
Callsites in the wild
12 representative callsites of 3,588, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop test
- in loop test
- in loop test
- in loop test
-
cdr.dev/slog @v1.6.1
internal/assert/assert.go:22
-
-
connectrpc.com/connect @v1.20.0
internal/assert/assert.go:34
-
hashicorp/consul @v1.22.7
-
-
moby/moby @v28.5.2+incompatible
-
etcd/client/pkg/v3 @v3.7.1
testutil/before.go:26
-
top callers
The modules that reach for it
The modules that call TB.Helper most in this snapshot.
- github.com/quii/learn-go-with-tests2176%
- github.com/hashicorp/vault1986%
- github.com/hashicorp/boundary1955%
- github.com/nats-io/nats-server/v21253%
- github.com/sagernet/tailscale1143%
siblings
More from testing
The other most-called members in this package. See all →