testing.TB.Context
standard libraryThe 8316th most-called standard-library method by production calls. Called 195 times across 45 modules; 75 of those run outside tests and generated code.
0% in production calls vs 2026-W48 (0 → 75)
- prod calls
- 75
- non-test, non-generated
- all calls
- 195
- total callsites
- modules
- 45
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 62%
- 120 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 →
- Interface method100%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into TB.Context from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 195, prioritizing in-loop and non-test usage. We link to source, never display it.
-
go.k6.io/k6 @v1.8.3
internal/cmd/tests/test_state.go:147
in loop - in loop
- in loop
- in loop
- in loop
-
charmbracelet/ultraviolet @v0.0.0-20261125122737-8ed499892fb4
in loop test - in loop test
- in loop test
-
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop test - in loop test
- in loop test
-
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop test
top callers
The modules that reach for it
The modules that call TB.Context most in this snapshot.
- github.com/hashicorp/boundary3618%
- github.com/open-policy-agent/opa2915%
- github.com/replicate/cog158%
- github.com/opentofu/opentofu95%
- github.com/tailscale/tailscale84%
siblings
More from testing
The other most-called members in this package. See all →