golden

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Test

func Test(t testing.TB, output string)

Test checks the test output against the golden file. If -golden-update was passed to "go test", it writes new golden files instead.

func TestMain

func TestMain(m *testing.M)

TestMain sets up the golden testing functionality for the package. Packages that want to integrate golden testing should themselves implement TestMain and call this function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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