unstabletest

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithEnabled

func WithEnabled(t *testing.T)

WithEnabled runs a test with unstable enabled. It also sets the unstable environment variable to enabled, such that all subprocesses initialized by the test also have unstable enabled.

At the end of the test, the original values for both the local unstable package and the environment variable are restored.

Types

This section is empty.

Jump to

Keyboard shortcuts

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