gotooltest

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package gotooltest implements functionality useful for testing tools that use the go command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(p *testscript.Params) error

Setup sets up the given test environment for tests that use the go command. It adds support for go tags to p.Condition and adds the go command to p.Cmds. It also wraps p.Setup to set up the environment variables for running the go command appropriately.

It checks go command can run, but not that it can build or run binaries.

Types

This section is empty.

Jump to

Keyboard shortcuts

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