File size: 746 Bytes
e36aeda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// Package scripttest adapts the script engine for use in tests.
package scripttest

// This package provides APIs for executing "script" tests; this
// way of writing Go tests originated with the Go command, and has
// since been generalized to work with other commands, such as the
// compiler, linker, and other tools.
//
// The top level entry point for this package is "Test", which
// accepts a previously configured script engine and pattern (typically
// by convention this will be "testdata/script/*.txt")
// then kicks off the engine on each file that matches the
// pattern.