package
1.14.1
Repository: https://github.com/rogpeppe/go-internal.git
Documentation: pkg.go.dev

# Functions

Deprecated: this option is no longer used.
Main should be called within a TestMain function to allow subcommands to be run in the testscript context.
RunDir runs the tests in the given directory.
Deprecated: use [Main], as the only reason for returning exit codes was to collect full code coverage, which Go does automatically now: https://go.dev/blog/integration-test-coverage.
RunT is like Run but uses an interface type instead of the concrete *testing.T type to make it possible to use testscript functionality outside of go test.

# Structs

Env holds the environment to use at the start of a test script invocation.
Params holds parameters for a call to Run.
A TestScript holds execution state for a single test script.

# Interfaces

T holds all the methods of the *testing.T type that are used by testscript.
TestingM is implemented by *testing.M.
Deprecated: this type is unused.