testmain

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ShortCircuitForBench

func ShortCircuitForBench(m *testing.M)

ShortCircuitForBench runs benchmark directly despite how TestMain configures.

func WrapTestingM

func WrapTestingM(m goleak.TestingM, callback func(int) int) *testingM

WrapTestingM returns a TestingM wrapped with callback on m.Run returning

Types

This section is empty.

Jump to

Keyboard shortcuts

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