# 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.