testenv

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package testenv emulates some testenv properties to reduce the amount of deleted line with respect to upstream.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Builder

func Builder() string

Builder always returns the empty string.

func Command added in v0.7.4

func Command(t testing.TB, name string, args ...string) *exec.Cmd

func CommandContext

func CommandContext(t testing.TB, ctx context.Context, name string, args ...string) *exec.Cmd

func GoToolPath

func GoToolPath(t testing.TB) string

GoToolPath returns the Go tool path.

func HasSrc

func HasSrc() bool

HasSrc always returns false.

func MustHaveExec

func MustHaveExec(t testing.TB)

MustHaveExec always skips the current test.

func SkipFlaky

func SkipFlaky(t testing.TB, issue int)

SkipFlay skips a flaky test.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL