openRuyi Lookout
← Packages

go-github-mitchellh-go-testing-interface

Go (golang) library to expose *testing.T as an interface.

Current
1.14.1
Candidate
Stale
License
MIT

Build

TargetResultLast successful versionSucceeded at
rva23
1.14.1
rva20
1.14.1
x86_64
1.14.1

Description

go-testing-interface is a Go library that exports an interface that *testing.T implements as well as a runtime version you can use in its place. The purpose of this library is so that you can export test helpers as a public API without depending on the "testing" package, since you can't create a *testing.T struct manually. This lets you, for example, use the public testing APIs to generate mock data at runtime, rather than just at test time.

Changelog

PR · 1

Checks
MonitorObservationLast checked
Stale
Repository refresh: git fetch exited 128 (authentication)
Stale
Source last confirmed at 2026-11-10T09:54:44+00:00; repository refresh overdue.
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Not applicable
No confirmed version upgrade; this monitor is not run.
—
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked