testmain

package
v1.1.0-beta.0...-8e1a47d Latest Latest
Warning

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

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