integration

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: UNKNOWN not legal advice Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveCoverageDir

func ResolveCoverageDir() (string, bool)

ResolveCoverageDir attempts to resolve the coverage directory from the 'TXTARCOVERDIR' environment variable first, and if not set, from the 'test.txtarcoverdir' flag. It returns the resolved directory and a boolean indicating if the resolution was successful.

func SetupGno

func SetupGno(p *testscript.Params, buildDir string) error

SetupGno prepares the given testscript environment for tests that utilize the gno command. If the `gno` binary doesn't exist, it's built using the `go build` command into the specified buildDir. The function also include the `gno` command into `p.Cmds` to and wrap environment into p.Setup to correctly set up the environment variables needed for the `gno` command.

func SetupTestscriptsCoverage

func SetupTestscriptsCoverage(p *testscript.Params, coverdir string) error

SetupTestscriptsCoverage sets up the given testscripts environment for coverage. It will mostly override `GOCOVERDIR` with the target cover directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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