testfailpoint

package
v1.1.0-beta.0...-14a469a Latest Latest
Warning

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

Go to latest
Published: Dec 23, 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