goshtest

package
v0.0.0-...-eb1188c Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestEnvName = "GOSH_TEST_NAME"

Functions

func Cleanup

func Cleanup(t *testing.T, f func())

Cleanup is similar to t.Cleanup(), but it runs the cleanup function only when the whole test has succeded. If the test as a whole failed, or go-test binary was instructed to run a specific subtest, the cleanup function isn't called, so that you can iterate quicker.

func Run

func Run(testCtx *testing.T, t *gosh.Shell, f func())

Types

This section is empty.

Jump to

Keyboard shortcuts

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