Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoldenTestOption ¶
type GoldenTestOption func(*GoldenTests)
func WithDataFiles ¶
func WithDataFiles(files ...bazel.RunfileEntry) GoldenTestOption
func WithExtraArgs ¶
func WithExtraArgs(args ...string) GoldenTestOption
func WithOnlyTests ¶
func WithOnlyTests(tests ...string) GoldenTestOption
type GoldenTests ¶
type GoldenTests struct {
// contains filtered or unexported fields
}
GoldenTests is a helper for running glob(["testdata/**"]) style test setups.
func FromDir ¶
func FromDir(extensionDir string, options ...GoldenTestOption) *GoldenTests
FromDir construct a GoldenTests tester that searches the given directory.
Click to show internal directories.
Click to hide internal directories.