Documentation
¶
Overview ¶
Package testutil locates the repository root and prepares the installed tool used by process-boundary tests.
Index ¶
- Constants
- func BuiltinTranscript(t *testing.T, provider, id, connection string) (string, string)
- func CheckRaceReports(dir string) error
- func PrepareBinary() (func(int) int, error)
- func PrepareRaceGuard() (func(int) int, error)
- func RaceShellExport() string
- func RepositoryRoot() (string, error)
- func ValidateBinary(binary string, wantRace bool) error
Constants ¶
const RaceEnabled = false
Variables ¶
This section is empty.
Functions ¶
func BuiltinTranscript ¶
BuiltinTranscript reads immutable recorded inputs for transport and build checks.
func CheckRaceReports ¶
CheckRaceReports is independent of business exit status and captured stderr.
func PrepareBinary ¶
PrepareBinary verifies the shared CLI and guards subprocess race reports. Builds belong to the layer runner, never individual test packages.
func PrepareRaceGuard ¶
PrepareRaceGuard catches races in controlled helpers even when a case expects failure.
func RaceShellExport ¶
func RaceShellExport() string
RaceShellExport preserves guard configuration across isolated launchers.
func RepositoryRoot ¶
func ValidateBinary ¶
ValidateBinary checks the actual installed artifact, not its filename.
Types ¶
This section is empty.