cover

package
v0.0.0-...-f96a6a9 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlushProfiles

func FlushProfiles()

FlushProfiles flushes test profiles to disk. It works by build and executing a dummy list of 1 test. This is to ensure we execute the M.after() function (a function internal to the testing package) where all reporting (cpu, mem, cover, ... profiles) is flushed to disk.

func ParseAndStripTestFlags

func ParseAndStripTestFlags()

ParseAndStriptestFlags runs flag.Parse to parse the standard flags of a test binary and remove them from os.Args.

Types

This section is empty.

Jump to

Keyboard shortcuts

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