testfailpoint

package
v0.0.0-...-6e93ed8 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable(t testing.TB, name string)

Disable disables fail-point.

func Enable

func Enable(t testing.TB, name, expr string)

Enable enables fail-point, and disable it when test finished.

func EnableCall

func EnableCall(t testing.TB, name string, fn any)

EnableCall enables fail-point, and disable it when test finished.

Types

This section is empty.

Jump to

Keyboard shortcuts

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